Age | Commit message (Collapse) | Author |
|
darcs-hash:20080717235306-533db-499c63251966a404081c8b0aa1c92a18c28cc27d.gz
|
|
<florian at biree.name>. Thanks :-)
To test locales add code like this to your index.php:
/* Set locale */
setlocale(LC_ALL, 'fr_FR');
bindtextdomain("laconica", './locale');
bind_textdomain_codeset("laconica", 'UTF-8');
textdomain("laconica");
UI coming soon from someone else for changing your language.
darcs-hash:20080714091448-533db-d87b53ea5c270d41449fb2dfa1c0bd0680262eea.gz
|
|
darcs-hash:20080714091337-533db-86af7bdde30397459299e4604ee6f38f473d4b9e.gz
|
|
I have added an en_NZ translation which has a few of the spelling differences that we have down here.
Until a language interface is created add something like:
/* Set locale */
setlocale(LC_ALL, 'en_NZ');
bindtextdomain("laconica", './locale');
textdomain("laconica");
to index.php to allow you to test your new locale. I used http://www.poedit.net/ to edit the locale. Also see http://nz2.php.net/manual/en/function.setlocale.php#82288 is you're having issues getting you locale to work on linux.
darcs-hash:20080713060055-533db-ad45b43abeeab1e2b4326b15597c4f67ea921a56.gz
|