Dynamic Locale?

Jun OKAJIMA okajima@digitalinfra.co.jp
Mon Jun 26 12:29:00 GMT 2006



I am researching about feasibility of multilingualized
Linux distribution. The current problem I have is,
how to make a multilingualized locale.

It is easy if you make a locale for all langueges,
but it makes too big locale file. Maybe more than 100MB?
I feel it does not sound practical.

Then, how we solve this problem?

My proposal is, making locale dynamically.
When apps call glibc, glibc forks "localedef" to make necessary
locales.

1. How you think about this idea?
2. Is there any other solution?

BTW, I have found one problem for this way so far.
localedef needs too much memory. Forking it is not practical
if you are running apps which use big mem. Any solution?
Before that, in the first place, why localedef eats such huge mem?
I can not understand why.


            --- Okajima, Jun. Tokyo, Japan.
                http://www.digitalinfra.co.jp/
                http://www.colinux.org/
                http://www.machboot.com/



 



More information about the Libc-alpha mailing list