LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Language support problem (https://www.linuxquestions.org/questions/linux-newbie-8/language-support-problem-776156/)

greek45 12-16-2009 12:43 PM

Language support problem
 
I am using ubuntu 2.2 ultimate edition which is ubuntu 9.04 adaptation.
when i try to install language base (in order to add greek lang. support)
the installation stops at the Portuguese lang. and it will not continue
with the base installation.
I used apt-get install -f with no success, at the end i removed the
leftover from the Portuguese lang. and added greek lang. support which
seemed to have installed. However i cannot find a way to switch from the
keyboard a combination of keys to try and see if it works.
your help will be appreciated.
greek45

bathory 12-17-2009 07:35 AM

Hi,

For new X that use hal, you need to add/edit /etc/hal/fdi/policy/10-keymap.fdi, so that it contains among others:
Quote:

<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>

<match key="info.capabilities" contains="input.keys">
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us,el</merge>
<merge key="input.xkb.options" type="string">grp:ctrl_shift_toggle</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
For more details take a look at this howto (written in greek).

Regards

ozanbaba 12-17-2009 07:47 AM

Quote:

Originally Posted by greek45 (Post 3794044)
I am using ubuntu 2.2 ultimate edition which is ubuntu 9.04 adaptation.
when i try to install language base (in order to add greek lang. support)
the installation stops at the Portuguese lang. and it will not continue
with the base installation.
I used apt-get install -f with no success, at the end i removed the
leftover from the Portuguese lang. and added greek lang. support which
seemed to have installed. However i cannot find a way to switch from the
keyboard a combination of keys to try and see if it works.
your help will be appreciated.
greek45

i don7t know ubuntu much, but that's how i configured my Slackware Box for Turkish.

i changed /etc/profile.d/lang.sh to export $LANG=tr_TR.UTF-8. most of the programs already comes with turkish language po files so it made them show turkish language mesages. KDE uses language packs, i installed them. XFCE did not need to install any language packs as it's lightweigt and it uses gettext (po files) for multilanuage messages.

now for some information about $LANG variable. it's defined in posix standart as this; [code of the language].[CODE OF THE COUNTRY].[DEFAULT ENCODING]. for Greek with unicode (UTF-8), $LANG should be el_GR.UTF-8.


All times are GMT -5. The time now is 12:13 AM.