webzwo0i
b204aa2085
remove more dead requires.
2014-12-16 19:10:01 +01:00
Marcel Klehr
b6c9b4ec30
Fix #1309 : Fix support for node v0.6
2012-12-31 15:47:42 +01:00
Marcel Klehr
220e084484
Simplify local locale file format
2012-12-23 22:43:32 +01:00
Marcel Klehr
7aba02f0cf
Don't break if a plugin hasn't got a locales dir
2012-12-23 18:17:12 +01:00
Marcel Klehr
cf24e53eae
Simplify server-side i18n code and make it a bit more understandable
2012-12-23 18:17:10 +01:00
Marcel Klehr
e34036513e
There's no utf8, but there's utf-8
2012-12-23 18:17:03 +01:00
Marcel Klehr
3c3c1630b1
Revert "Don't tell IE it's utf8. Just send it. Otherwise it'll snuff it!"
...
This reverts commit 5fb7a03fb34078a75fe5932563e5a9fe44c57015.
2012-12-23 18:17:01 +01:00
Iván Eixarch
bc0d9c854b
use relativa path in import definitions of locales.json
2012-12-23 18:16:54 +01:00
Marcel Klehr
d9d0312a9e
Don't tell IE it's utf8. Just send it. Otherwise it'll snuff it!
...
(As if we wouldn't look forward to that...)
2012-12-23 18:16:52 +01:00
Marcel Klehr
e3f9ed37b4
Hacky solution for exploreDir error
...
We should only traverse the directories of actual plugins instead
of traversing the whole node_modules folder
2012-12-23 18:16:45 +01:00
Iván Eixarch
2b860986e8
support for json in i18n
2012-12-23 18:16:37 +01:00
Iván Eixarch
a2b22652ce
added direction language in English
2012-12-04 13:02:23 +01:00
Iván Eixarch
5f949b8457
Update language4translatewiki 0.1.3
2012-12-04 12:12:58 +01:00
Iván Eixarch
795a20b3f2
get languages availables through translatewiki API
2012-11-28 23:54:23 +01:00
Iván Eixarch
9ec8a6e3d3
back to globalize... don't work :S
2012-11-28 04:02:55 +01:00
Iván Eixarch
6fe6103632
added languages for translatewiki
2012-11-26 23:40:31 +01:00
Iván Eixarch
1e71797ad5
Replace Globalize with languages module
2012-11-20 19:46:17 +01:00
Marcel Klehr
e131f60071
Serve English strings directly with /locales.ini
2012-11-17 14:33:01 +01:00
Marcel Klehr
f5563ab704
Move locale detection to the client
...
* l10n.js is doing locale detection already, so
we shouldn't interfere but help it do its job
* this should also fix the ?lang embed parameter
* Set language from cookie on page init for l10n
to load the right translation
2012-11-14 17:01:59 +01:00
Marcel Klehr
19c12239f6
Simplify lang setting in pad.html template
2012-11-12 18:04:21 +01:00
Marcel Klehr
7021a8b885
Add pad setting for UI lang
2012-11-12 16:49:15 +01:00
Marcel Klehr
a3504f70c4
Add i18n component
2012-11-10 14:12:17 +01:00