特殊:Badtitle/NS100:HebrewLocalizationHowto
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/HebrewLocalizationHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/af | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Afrikaans| [[::HebrewLocalizationHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ar | • {{#if: UbuntuHelp:HebrewLocalizationHowto|العربية| [[::HebrewLocalizationHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/az | • {{#if: UbuntuHelp:HebrewLocalizationHowto|azərbaycanca| [[::HebrewLocalizationHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/bcc | • {{#if: UbuntuHelp:HebrewLocalizationHowto|جهلسری بلوچی| [[::HebrewLocalizationHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/bg | • {{#if: UbuntuHelp:HebrewLocalizationHowto|български| [[::HebrewLocalizationHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/br | • {{#if: UbuntuHelp:HebrewLocalizationHowto|brezhoneg| [[::HebrewLocalizationHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ca | • {{#if: UbuntuHelp:HebrewLocalizationHowto|català| [[::HebrewLocalizationHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/cs | • {{#if: UbuntuHelp:HebrewLocalizationHowto|čeština| [[::HebrewLocalizationHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/de | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Deutsch| [[::HebrewLocalizationHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/el | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Ελληνικά| [[::HebrewLocalizationHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/es | • {{#if: UbuntuHelp:HebrewLocalizationHowto|español| [[::HebrewLocalizationHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/fa | • {{#if: UbuntuHelp:HebrewLocalizationHowto|فارسی| [[::HebrewLocalizationHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/fi | • {{#if: UbuntuHelp:HebrewLocalizationHowto|suomi| [[::HebrewLocalizationHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/fr | • {{#if: UbuntuHelp:HebrewLocalizationHowto|français| [[::HebrewLocalizationHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/gu | • {{#if: UbuntuHelp:HebrewLocalizationHowto|ગુજરાતી| [[::HebrewLocalizationHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/he | • {{#if: UbuntuHelp:HebrewLocalizationHowto|עברית| [[::HebrewLocalizationHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/hu | • {{#if: UbuntuHelp:HebrewLocalizationHowto|magyar| [[::HebrewLocalizationHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/id | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Bahasa Indonesia| [[::HebrewLocalizationHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/it | • {{#if: UbuntuHelp:HebrewLocalizationHowto|italiano| [[::HebrewLocalizationHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ja | • {{#if: UbuntuHelp:HebrewLocalizationHowto|日本語| [[::HebrewLocalizationHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ko | • {{#if: UbuntuHelp:HebrewLocalizationHowto|한국어| [[::HebrewLocalizationHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ksh | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Ripoarisch| [[::HebrewLocalizationHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/mr | • {{#if: UbuntuHelp:HebrewLocalizationHowto|मराठी| [[::HebrewLocalizationHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ms | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Bahasa Melayu| [[::HebrewLocalizationHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/nl | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Nederlands| [[::HebrewLocalizationHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/no | • {{#if: UbuntuHelp:HebrewLocalizationHowto|norsk| [[::HebrewLocalizationHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/oc | • {{#if: UbuntuHelp:HebrewLocalizationHowto|occitan| [[::HebrewLocalizationHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/pl | • {{#if: UbuntuHelp:HebrewLocalizationHowto|polski| [[::HebrewLocalizationHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/pt | • {{#if: UbuntuHelp:HebrewLocalizationHowto|português| [[::HebrewLocalizationHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ro | • {{#if: UbuntuHelp:HebrewLocalizationHowto|română| [[::HebrewLocalizationHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/ru | • {{#if: UbuntuHelp:HebrewLocalizationHowto|русский| [[::HebrewLocalizationHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/si | • {{#if: UbuntuHelp:HebrewLocalizationHowto|සිංහල| [[::HebrewLocalizationHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/sq | • {{#if: UbuntuHelp:HebrewLocalizationHowto|shqip| [[::HebrewLocalizationHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/sr | • {{#if: UbuntuHelp:HebrewLocalizationHowto|српски / srpski| [[::HebrewLocalizationHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/sv | • {{#if: UbuntuHelp:HebrewLocalizationHowto|svenska| [[::HebrewLocalizationHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/th | • {{#if: UbuntuHelp:HebrewLocalizationHowto|ไทย| [[::HebrewLocalizationHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/tr | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Türkçe| [[::HebrewLocalizationHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/vi | • {{#if: UbuntuHelp:HebrewLocalizationHowto|Tiếng Việt| [[::HebrewLocalizationHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/yue | • {{#if: UbuntuHelp:HebrewLocalizationHowto|粵語| [[::HebrewLocalizationHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/zh | • {{#if: UbuntuHelp:HebrewLocalizationHowto|中文| [[::HebrewLocalizationHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/zh-hans | • {{#if: UbuntuHelp:HebrewLocalizationHowto|中文(简体)| [[::HebrewLocalizationHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HebrewLocalizationHowto | UbuntuHelp:HebrewLocalizationHowto | {{#if: | :}}HebrewLocalizationHowto}}/zh-hant | • {{#if: UbuntuHelp:HebrewLocalizationHowto|中文(繁體)| [[::HebrewLocalizationHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:HebrewLocalizationHowto|:HebrewLocalizationHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :HebrewLocalizationHowto/zh | | {{#ifexist: HebrewLocalizationHowto/zh | | {{#ifeq: {{#titleparts:HebrewLocalizationHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:HebrewLocalizationHowto|1|-1|}} | zh | | }}
HebrewLocalizationHowto
Draft. Feel free to change and correct. (2005/01/08) added console fonts and key bindings to the howto. (2007/09/20) updated gaim to gaim/pidgin + made content clearer.
Hebrew Localization HOWTO
- This document briefly describes what a typical Hebrew user should do to make his Ubuntu hebrew speaking. Main topics: hebrew pakcages, locales, layout switching, reading Hebrew filesystems, console and X fonts, Hebrew ICQ.*
Needed Packages
Enable universe repository (see UniversePackages, or manually edit */etc/apt/sources.list*). For msttcorefonts (Microsoft TrueType core fonts), which are required in order to view Hebrew in some Microsoft-format documents, add "multiverse" to your sources list. Follow the instructions for adding UniversePackages above but add "multiverse" in addition to "universe". Open a terminal and install some packages: Hebrew fonts: X fonts, the culmus fonts, msttcorefonts (MS Windows fonts)
sudo apt-get install culmus xfonts-efont-unicode xfonts-efont-unicode-ib xfonts-intl-european msttcorefonts
OPTIONAL Packages: Openoffice.org Hebrew support
sudo apt-get install openoffice.org-l10n-he
Hebrew standalone spell checker
sudo apt-get install hspell hspell-gui
Hebrew support for Emacs
sudo apt-get install emacs-intl-fonts
Hebrew support for KOffice
sudo apt-get install koffice-i18n-he
Set Hebrew locale
Navigate to "System"-->"Administration"-->"Language Support". Mark "Hebrew" as your desired language, and choose to "Apply" the changes. This will install neccessary locale data as well as do any configuration needed to put the new locale into effect. After you finish it's recommended you log out and re log in to GNOME to have the new locale settings take effect.
Reading filesystems with Hebrew
You may have Windows partitions you want to access, and to do so, you will have to mount them. AutomaticallyMountPartitions explains how to auto-mount such partitions on startup. However, if you used Hebrew filenames on these partitions, you will have to add the following lines to the configuration file discussed in AutomaticallyMountPartitions instead of the lines stated:
For FAT Partitions
/dev/hdaX /mnt/foo vfat umask=0111,dmask=0,codepage=862,iocharset=iso8859-8,rw,users 0 0
For NTFS Partitions (Windows 2000 and Windows XP partitions)
/dev/hdaY /mnt/bar ntfs umask=0333,dmask=0,nls=iso8859-8,ro,users 0 0
- hdaX* and *hdaY* refer to the location of the Windows partition (AutomaticallyMountPartitions eplains how to find this out). */mnt/foo* and */mnt/bar* refer to the directories in which the partitions will be mounted (this is also explained in AutomaticallyMountPartitions.
CD-ROMS, floppies, etc.
Type in the terminal window:
gksudo gedit /etc/fstab
and add *iocharset=iso8859-8* to the CD-ROM/floppy options. {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconNote.png%7D%7D Note: To find out where are your partitions located and what filesystem is in use type *sudo fdisk -l* in the terminal.
Opening windows partitions for write access
The above mentioned opens up your partitions for read access only. Enabling write access to windows partitions is done by a driver called ntfs-3g. There are two steps required to install it for Hebrew users:
- Installing it, using the instructions found here.
- Adding the "locale" option in the fstab, as explained the in the ntfs-3g FAQ.
Hebrew in the console
NOTE These are bindings for the console (virtual terminals) - not for Hebrew in X terminals. To use Hebrew fonts in the console you'll have to edit */etc/console-tools/config* file. Make sure these lines appear in the file:
SCREEN_FONT=iso08.f16 APP_CHARSET_MAP=iso08
You may also use *iso08.f14* or *iso08.f08* as your screen fonts (the second number represents font height). A font can be tested from a console with
consolechars -f <screen_font> -m <charset_map>
See *man consolechars* for more details. Keymap bindings are usually configured automaticaly. They can be changed with
sudo dpkg-reconfigure console-data
The common hebrew binding is il-Heb (not Standard!).
Hebrew fonts in X Terminals and Emacs
NOTE: This is already available out of the box in breezy and dapper. No setup is needed.
To enable hebrew fonts in XTerm and Emacs you'll have to edit *~/.Xresources*. Add these lines:
*VT100*font: -etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-8 Emacs*font: -etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-8
{{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconNote.png%7D%7D Note: You may choose different fonts with *xfontsel*, just make sure they end with "iso8859-8".
Hebrew keyboard in Gnome
To add Hebrew keyboard to gnome: In your menu: Computer -> Desktop Preferences -> Keyboard:
- in Layouts: add "Israeli".
- in Layout Options: in "Group Shift/Lock behavior" choose which keys will switch to hebrew and back.
Restarting Gnome may be necessary. Add keyboard indicator to your panel: on a panel -> Add to panel... -> Keyboard Indicator.
Hebrew ICQ Support in Gaim/Pidgin and GnomeICU
In Gaim (or Pidgin): Under Accounts >> Add/Edit, Open to your ICQ profile settings, and in "Show more options" or "Advanced" tab set Encoding to "ISO-8859-8". In GnomeICU: Under preferences choose "ISO-8859-8" as default encoding.
Hebrew Gnome
In the login screen, "Hebrew" may be chosen as the language in which menus will be displayed. Unfortunately, some menus aren't translated to Hebrew yet.
Hebrew Subtitles in MPlayer
1. Install the "Tahoma" font (if you already installed the "msttcorefonts" package, then you don't need this part)
cd /usr/share/fonts/truetype sudo mkdir ttf-win32 cd ttf-win32 sudo cp /mnt/hda1/windows/Fonts/tahoma* #(or wherever your tahoma font is at) sudo fc-cache -v
2. make a symbolic link to tahoma.ttf in ~/.mplayer:
cd ~/.mplayer ln -s /usr/share/fonts/truetype/ttf-win32/tahoma.ttf subfont.ttf
Note: If you installed msttcorefonts, then the tahoma.ttf file might somewhere else, to find where it is run:
find /usr/share/fonts/truetype -iname 'tahoma.ttf'
3. add these two lines to ~/.mplayer/config:
subfont-encoding="ISO8859-8" font="Tahoma"