Tag Info

New answers tagged

0

Since Finder is built in objective-c it uses nib localizations. Here is an example. /System/Library/CoreServices/Finder.app/Contents/Resources/sv.lproj/ServicesMenu.strings sv.lproj stands for Svenska.localized project Here is the contents of ServicesMenu.strings bplist00”[Finder/Open]Finder/Reveal_Finder/Show InfolFinder/÷ppna_Finder/Visa i ...


0

Most simply use export LC_ALL=C,make the script with ls,sort,etc and then return to you favourite LC,in my case UTF8.


4

Check your environment variable LC_COLLATE. The easiest thing will be to use the command locales. If you want, you can set it to a different value. For example, you can do (assuming bash) export LC_COLLATE="C" and that should fix your issue.


0

You change all the LC_... settings by setting LC_ALL $ locale LANG="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_ALL= $ export LC_ALL=uk_UA $ locale LANG="en_US.UTF-8" LC_COLLATE="uk_UA" LC_CTYPE="uk_UA" LC_MESSAGES="uk_UA" ...


1

(a) An entity known as the Unicode Common Locale Data Repository seems to be the place that handles locales. The glibc wiki indicates that they will follow CLDR. (b) They have a locale known as "en_150" which seems to be intended to do what you want. I'm not sure glibc has implemented it yet. There's also a similar locale known as en_BE which is identical ...


1

This is why you use different locale for different things. In my case I mix en_GB and sv_SE to get what I need and it looks like this: $> locale LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LC_CTYPE="en_GB.UTF-8" LC_NUMERIC=sv_SE.utf8 LC_TIME=sv_SE.utf8 LC_COLLATE="en_GB.UTF-8" LC_MONETARY=sv_SE.utf8 LC_MESSAGES="en_GB.UTF-8" LC_PAPER=sv_SE.utf8 ...



Top 50 recent answers are included