* Patrick McNeil
On 05/29/2017 08:04 AM, Patrick Shanahan wrote:
* Patrick McNeil
[05-29-17 07:16]: [...]
It does not seem as though en_MY is available for Linux. If you look in /usr/lib/locale/ for en_*, there are 37 entries, but no en_MY. Also, there is no output from: 'locale --all-locales | egrep -i en_MY' locate --all-locales |egrep -i en_MY locate: unrecognized option '--all-locales'
locate en_MY /usr/lib/python2.7/site-packages/babel/locale-data/en_MY.dat
rpm -qf /usr/lib/python2.7/site-packages/babel/locale-data/en_MY.dat python2-Babel-2.4.0-2.1.noarch
It is recognized as a language combination in CLDR (http://www.unicode.org/cldr/charts/latest/supplemental/territory_language_in...), but does not seem to be defined on Linux (Opensuse or Red Hat, so probably glibc). it is on Tw
I think there was a small typo in your command line: 'locate --all-loc...' should be 'locale...'. The idea is to see what locales the locale DB thinks are available rather than looking for actual files.
locate --all-locale |egrep -i en_MY locate: unrecognized option '--all-locale'
On TW (and on Opensuse), some locale files are provided by particular programs. On TW "20170522", with Python and Perl Date::Time::Locale installed, I have en_MY locale provided by:
python2-Babel-2.4.0-2.1.noarch perl-DateTime-Locale-1.050000-1.1.noarch
I believe this means that you could use this locale from a Python 2 script/program or from a Perl script/program (via Date::Time::Locale), but I don't think the OS will see it. If it did, the 'locale --all-locales' command should see it.
And if the OS does not see the locale, very few programs (like terminals) would be able to use it.
you are correct, I mis-read/mis-typed and I get the same missing en_MY. tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org