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]

Re: Dynamic Locale?


Jun,

What's your motivation here? I've been agonizing over
multi language issues myself, especially for recognizing
letters regardless of the language. E.g. in multilingual
documents with text in Japanese, Finnish, English and Greek
encoded in UTF-8.

Other aspects of locales tend to really require a specific
location/language. I am interested to hear what you have in mind.



Troy Korjuslommi                Tksoft Inc.
tjk@tksoft.com




> 
> 
> 
> 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]