55 Commits (5428ea635cede99e47c25513bcd36c999deb2fe6)

Author SHA1 Message Date
psychobunny b5d3186120 plugins and themes can now define their own custom language strings. closes #1865 11 years ago
Julian Lam be19222817 en_US will no longer throw js error from missing timeago file 11 years ago
Julian Lam b0b28fad8e removing console logs 11 years ago
psychobunny eb69d898ce use cache-buster in translator instead of timestamp 11 years ago
barisusakli ff2bad635c infinite scroll refactor 11 years ago
psychobunny 99b34d5990 allow translator variables to not require a space, see #1512 11 years ago
psychobunny af54d9fa64 if translator.addTranslation is called before translator is done loading, the loading property is never set, which crashes translator 11 years ago
psychobunny 7b453edb2d don't crash if language file not found
@barisusakli seems like something needs footer.json, maybe it's a plugin
if its not crashing for you
11 years ago
Julian Lam 8934ac1a2d added try..catch to server parsing of translations, in case a file has a syntax error -- #1401 11 years ago
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
11 years ago
barisusakli 3ea49a8f90 if language or default language is not set use en 11 years ago
barisusakli 3e60451ce4 closes #1013
lets user change languages,
11 years ago
barisusakli 9125292b0e removed get and mget 11 years ago
barisusakli 8aa4f053e8 converted translator.get to translator.translate 11 years ago
barisusakli fb43282a9c removed for in loop 11 years ago
barisusakli 557426c1c9 translator refactor
no longer loads all language files on startup
11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
Julian Lam 4161f138f3 adding data-dir attribute for languages 11 years ago
Julian Lam 2430b970f3 fixed issue where timeago strings were not rendering in the correct language on cold loads 11 years ago
Julian Lam 4b45a4b168 fixing persian language timeago mapping 11 years ago
psychobunny 6e8c618fb1 prevent translator crash if data is undefined; linted/cleanup 11 years ago
akhoury 1b207d8276 IE8 support, general cleanups, from native to $ objects ... 11 years ago
Julian Lam 5b16223923 proper RTL handling f hebrew and arabic 11 years ago
Julian Lam daa76e821c Merge branch 'master' of github.com:designcreateplay/NodeBB 11 years ago
Julian Lam 2075049ae0 default en_GB 11 years ago
Baris Soner Usakli 042df13611 merged 11 years ago
Baris Soner Usakli 253c19abeb removed unused var added error log 11 years ago
Julian Lam 7d736f9352 fixed hebrew language string and introducing fallback to english if wrong language is set 11 years ago
Julian Lam 0376e3d574 renamed language directories to ICU standard, upgrade script, no longer promoting english at top of list in languages tab, en now en_GB, encompasses Canadian and English English 11 years ago
Julian Lam d924d01677 timeago fix for brasilian portugueso 11 years ago
Julian Lam 7db231ca54 traditional chinese language pack - 很好? 11 years ago
Julian Lam f9e8178d25 fixed timeagago for zh_cn 11 years ago
Julian Lam 95355f9036 added 'dir' value into language.json, added support for translator to add dir attribute to html element if necessary 11 years ago
Julian Lam c1c9438220 patching translator to ignore non-js files 11 years ago
Julian Lam acc390f6ef added timeago locales, fixed timeago template error in ACP. 11 years ago
Julian Lam c2a1cd94d0 addressing issue for #728 where existing NodeBBs don't have a defaultLang set 11 years ago
Julian Lam df4c6ca1c8 integrating client side translator into new languages tab in ACP 11 years ago
Julian Lam cd6af45afb added icons to all h1s in admin panel
languages tab in ACP
each language now also has a "language.json"
11 years ago
psychobunny 7c8c735e05 i8n - if translation not present, use a readable key 11 years ago
psychobunny ea49295774 some translator methods useful for plugins that wish to support i8n 11 years ago
Julian Lam 2c131f172a fixing up some translations - WIP 11 years ago
psychobunny d9e364cd86 fixes #480 11 years ago
Baris Usakli 27f421587e closes #444 11 years ago
Baris Usakli 45feef5884 closes #421 11 years ago
psychobunny de1e3230f5 fixed topics and admin views, broken after merge 12 years ago
psychobunny cd63dd429b finalizing todo's before merging 12 years ago
psychobunny 5abf02c6d1 default language, en 12 years ago
psychobunny b8037845d6 registration.tpl; translator variable system 12 years ago
psychobunny 5c7da4b686 fixed serverside templating; footer, logout internationalization; updated more global lang keys 12 years ago
psychobunny 5a10f7fcfe init variables in translator 12 years ago