note 4724 deleted from function.setlocale by cmb
| From: | cmb@php.net | Date: | Sun, 10 Nov 2019 12:17:21 +0000 |
| Subject: | note 4724 deleted from function.setlocale by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212963@lists.php.net to get a copy of this message | ||
Note Submitter: Morgan Christiansson <mog at linux dot nu>
----
check /usr/share/locale/ if you want more info about the locale available with your *NIX box
there is also a file called /usr/share/locale/locale.alias with a list of aliases
such as swedish for sv_SE
so on all boxes i have accounts on (rh 6.0 and slack 3.4) you can just use
setlocale("LC_ALL","swedish"); or other prefered language in plain english.
However, the weekdays were in all lowercase :(
Note: export LC_ALL=swedish made a lot of programs swedish for me, it's also possible to make
them russian or japanese :)