This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Dynamic Locale?



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/



 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]