Re: [RFC ;-)]: some more flexible way to load localized files (hints, help, etc)



Hi, Andrew!

> Let mc_home is "/usr/lib/mc", filename is "mc.hlp" and guess_message_value ()
> returned "russian_cis.cl8koi8r".

I don't understand. What is "_cis"? Where does it come from?

>     1) It try to load             "/usr/lib/mc/mc.hlp.russian_cis.cl8koi8r"
>     2) If 1) fails it try to load "/usr/lib/mc/mc.hlp.ru"

Are you truncating the first name? Or you are taking "ru" from the locale?

Please try to explain the idea instead of the implementation. What
functionality are you trying to achieve?

-- 
Regards,
Pavel Roskin





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