LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2009, 01:43 PM   #1
greek45
LQ Newbie
 
Registered: Jan 2008
Posts: 23

Rep: Reputation: 0
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
 
Old 12-17-2009, 08:35 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,522

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
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
 
Old 12-17-2009, 08:47 AM   #3
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 672

Rep: Reputation: 94
Quote:
Originally Posted by greek45 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
language support jani1982 Linux - Newbie 1 04-16-2008 03:31 AM
National Language Support = utf8 and vfat problem (possible kernel bug) Not now, John! Linux - General 1 08-31-2007 10:52 PM
language support Murdock1979 Linux - Software 2 01-19-2006 03:24 PM
all language support in X apikoros Linux - Software 0 11-22-2005 03:45 AM
Gaim - language support problem kaon Linux - Software 0 09-18-2004 09:54 AM


All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration