I guess there should be some standard method for this, just to avoid everybody retyping dull constants for their applications. 😉 I am looking for a function (usable in a php web app on linux) that can take two ISO639 language codes and returns the name of the first language in the second language, i.e. foo(“fr”,”de”) should return “französisch” and
Tag: internationalization
Emacs, Linux and international keyboard layouts
Is there an easy way to use Emacs key-bindings when you are using a not-English (Russian) keyboard layout? Whenever an international layout is on, all keystrokes are interpreted literally, M-ф instead of M-a. As a result I can’t use commands. It would also be nice if Linux could interpret non-prefixed and shift-prefixed keys according according to an international layout, while
Efficiency of gettext : in-memory translation
I have an embedded system with Flash and a very low end CPU and less RAM. I wanted to know how efficient is the gettext language translation using .MO file. For doing the locale language string fetch, do every time gettext read MO file from flash OR, the complete MO binary file is first loaded into RAM, and do the
How to obtain the path of Desktop in gnome
I am using gnome/Ubuntu-10.10 in Chinese language and the desktop path is not “~/Desktop” but “~/XXXX” where XXXX stands for the Chinese translation of “Desktop”. So, how to write code to obtain the proper path of desktop regardless of the system language? I noticed Qt SDK properly added a shortcut on the desktop so I guess there is a way.