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

Pavel Roskin proski at gnu.org
Wed May 16 20:44:13 UTC 2001


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





More information about the mc-devel mailing list