Commit Graph

56 Commits

Author SHA1 Message Date
Diogo Cordeiro d9a42550ff is_rtl should handle lang instead of code 2019-05-16 22:51:11 +01:00
Diogo Cordeiro 9cc7df51d6 Some obvious bug fixes for i18n 2019-04-25 23:12:46 +01:00
Akio Nishimura eceafb84de lib/language.php: rewrited jp as ja. 2016-01-13 13:23:06 +01:00
Mikael Nordfeldth 0dc7fcce5b Fixes issue #94 with undefined 'fr'
I just copied the English example...
2016-01-03 00:45:47 +01:00
digital dreamer a452a3b1a0 Snapshot of the Transifex translation project - February 2015 2015-03-08 09:34:38 +01:00
Siebrand Mazeland 07138391f9 Enable Belarusian (Taraškievica orthography) (be-tarask) and Malayalam (ml).
Remove some trailing whitespace.
2012-04-19 16:25:36 +02:00
Evan Prodromou 49304056f7 enable Basque language 2012-04-19 09:35:21 -04:00
Zach Copley 8b9258c0ec Function to test for RTL language 2011-08-25 12:48:36 -07:00
Siebrand Mazeland d26d408304 Add support for Tagalog. 2011-04-17 10:49:48 +02:00
Siebrand Mazeland 4e3537a12b * add support for Friulian
* move a line around for sorting reasons
2011-02-26 00:34:46 +01:00
Siebrand Mazeland 2d08750c47 Localisation updates from http://translatewiki.net
* add support for Hungarian (hu)
2010-09-28 01:02:08 +02:00
Siebrand Mazeland f2d6e1e375 Add basic support for Georgian (ka) 2010-09-05 10:45:03 +02:00
Siebrand Mazeland db46d73a5f Add dummy support for Esperanto. 2010-08-11 12:46:54 +02:00
Siebrand Mazeland 44d01f70a6 Localisation updates from http://translatewiki.net
* add support for Danish
2010-07-31 23:59:22 +02:00
Brion Vibber 1b3b7f9a42 Ticket 2427: fix regression in plugin i18n 2010-07-12 10:27:23 -07:00
Brion Vibber d88b208edc Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
	plugins/OpenID/openid.php
2010-06-07 10:19:40 -07:00
Brion Vibber f4539b52ad Ticket 2329 followup: my clever 'let it use the default' was foiled by PHP gettext module not quite exposing a compatible interface as the backend gettext library. (Most funcs squash null domain parameter into '' empty string, which isn't interpreted as 'use the current default'.) 2010-05-28 16:03:09 -07:00
Brion Vibber 696aeea113 Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
	lib/language.php
	plugins/OpenID/finishaddopenid.php
2010-05-27 14:57:32 -07:00
Brion Vibber 697a9948df Ticket #2329: fix for use of _m() translation functions from outside of plugin directories 2010-05-27 14:18:08 -07:00
Siebrand Mazeland cb38163e8d Update supported languages:
* fix name for Irish/ga
* add Galician/gl
2010-04-09 01:16:41 +02:00
Siebrand Mazeland ae139c4ddf Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add Afrikaans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-07 01:14:31 +02:00
Brion Vibber 14c488ebb0 Fix for _m() usage with context in StatusNet main code. 2010-03-13 12:12:06 -08:00
Siebrand Mazeland 5dbcc184c9 Add Breton to language.php 2010-03-04 20:04:44 +01:00
Brion Vibber a06af3f125 Ticket 1982: define LC_MESSAGES and friends if PHP didn't predefine them for us. (Known problem on Win32) 2009-12-21 09:06:07 -08:00
Siebrand Mazeland 7e6efd1065 Localisation updates for !StatusNet from !translatewiki.net !sntrans
* Adding Persian language
2009-12-20 15:52:43 +01:00
Siebrand Mazeland 954eb411e0 Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add Interlingua (ia)
2009-12-13 18:31:14 +01:00
Siebrand Mazeland 78a649ca0a Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add Egyptian Spoken Arabic (arz)
2009-12-12 18:21:57 +01:00
Brion Vibber 2f59f0ddb5 Compat fix for PHP 5.2.4 -- drop unneeded new param to debug_backtrace(), caused error spew on older PHP (introduced PHP 5.2.5)
Fix for regression in 4b5e977a7b
2009-12-08 17:35:27 -08:00
Brion Vibber 4b5e977a7b New _m() gettext wrapper with smart detection of plugin domains. Plugin base class registers your gettext files if present at initialization.
update_pot.sh replaced with update_po_templates.php which can do core, plugins, or all (default).
Top-level Makefile added to build .mo files for plugins as well as core.

As described on list:
http://lists.status.net/pipermail/statusnet-dev/2009-December/002869.html
2009-12-08 12:17:11 -08:00
Siebrand Mazeland dff5103399 Add new user language hsb / Upper Sorbian 2009-11-28 20:53:05 +01:00
Brion Vibber 1827256d0e Added support for pgettext() and npgettext() to separate contexts for translatable messages that are going to be ambiguous in English original. 2009-11-18 14:57:18 -08:00
Siebrand Mazeland da372c4d88 Localisation updates from translatewiki.net
* adding Arabic localisation
2009-11-10 22:03:11 +01:00
Brion Vibber 793a4ef4d5 kill tabs 2009-11-06 12:15:08 +01:00
Brion Vibber e909d0a639 Add Icelandic to the language support list so the localization can actually be used :) 2009-11-06 11:51:28 +01:00
Brion Vibber c3b1f9e77d Use short language names for locales for now; this seems to be most compatible with both native gettext (tested on Ubuntu 8.10) and php-gettext (tested on Mac OS X 10.6). 2009-10-16 11:23:50 -07:00
Brion Vibber 4ef0665408 Galician translation (out of date but functional... unless you have locale issues of course)
.po file from http://status.net/trac/ticket/481 last updated by mvazquez
2009-10-16 16:29:50 +00:00
Evan Prodromou df86aa7214 define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Evan Prodromou 865b716f09 change LACONICA to STATUSNET 2009-08-25 18:42:34 -04:00
Evan Prodromou ae883ceb9b change controlyourself.ca to status.net 2009-08-25 18:19:04 -04:00
Evan Prodromou d35b2d3f3c change laconi.ca to status.net 2009-08-25 18:16:46 -04:00
Evan Prodromou c8b8f07af1 change Laconica and Control Yourself to StatusNet in PHP files 2009-08-25 18:12:20 -04:00
Craig Andrews 52d51fad3c Fixed: Browser language preference's not used when using Google Chrome
Thanks bambeeq

http://laconi.ca/trac/ticket/620
2009-07-21 15:10:00 -04:00
Jeff Mitchell c3cffaf9c7 Laconica defaults to a locale 'en' which uses language 'en'. Unfortunately, this language doesn't exist -- properly it's en_US. This causes a lot of spammy messages in syslog. This fix simply changes 'en' to have
the same properties as 'en-us', i.e. a language of en_US and a description of 'English (US)'.
2009-06-30 14:36:40 -07:00
CiaranG 88269b288a Fix to Korean language selection - see ticket #1351 2009-03-24 08:05:02 +00:00
Evan Prodromou 75f2095a00 update q-factors for new translations 2009-03-12 12:39:57 -04:00
Adrian Lang 3f7d70c5e4 Hopefully fixes #1260: Mess with norwegian languages. Moreover corrected ltr/rtl for Italian and Hebrew and added Finnish. 2009-02-27 15:45:11 -08:00
Evan Prodromou a7c85bebd5 Merge branch 'master' of /var/www/mublog
Conflicts:

	actions/api.php
	actions/deletenotice.php
	actions/recoverpassword.php
	actions/remotesubscribe.php
	actions/tag.php
	actions/tagrss.php
	actions/twitapiaccount.php
	actions/twitapiusers.php
	classes/Notice.php
	classes/User.php
	lib/common.php
	lib/language.php
	lib/subs.php
	lib/twitterapi.php
	lib/util.php
	scripts/inbox_users.php
	scripts/update_translations.php

Merged development trunk into laconica head. woohoo!
2009-01-23 08:58:31 +01:00
Evan Prodromou b30568ad79 Update language q-factors to represent current translated values
I've updated the q-factors in lib/language.php to represent the
percentage of actual translated values in the files, per Pootle. It
may make sense in the future to weight this to favor "important"
translations, e.g. stuff that shows up more frequently rather than in
rare error messages.

I've also added a few languages that weren't in the file.
2009-01-12 11:54:35 -05:00
Evan Prodromou f77b98d38a Remove empty translations from lib/language.php 2009-01-11 08:14:07 -05:00
Evan Prodromou 9de0583196 reformat lib/language.php for PEAR Coding Standards
darcs-hash:20081222193029-84dde-8d0f64d0fad2a2854d1a3a294a30e74d73fd1bd1.gz
2008-12-22 14:30:29 -05:00