[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Problem enabling new language on gdm language selection list



For adding a language on gdm's login screen, apart from having a
locale file, few translations and required fonts, it is required that
language is recognized by fontconfig.
To make a fontconfig recognize the language, a related lang.orth file
is required. With my experiment on this, I think there is also need to
add an entry to fcfreetype.c of fontconfig and related language code
entry in ttnameid.h of freetype2. After making all these changes the
language is listed in the gdm's list.  But this has a problem, as the
entries of language code in ttnameid.h are MS and MAC codes for these
languages and there are languages that do not have these codes but are
included in iso639-2 language codes.
Thus my question is, how much important is it to have an entry for the
language in the file fcfreetype.c of fontconfig and related entry in
the header file ttnameid.h of freetype2? And what is to be done for
the language that does not have MS or MAC code? Is it possible to use
our own codes?

Can anyone please help resolving this?


-- 
Rahul.
http://b.rahul.pm.googlepages.com/home
 - http://rahulpmb.blogspot.com
 - http://samadiyami.blogspot.com
 - http://mazikavita.blogspot.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]