You are here
Milan - Sat, 2014/12/06 - 16:40
Hi !
I cant add new language to Canvas LMS. It's 100% translated on transifex, and i download sr.yml file and add it to /var/canvas/config/locales. After that, i add these lines to locales.yml
sr:
locales:
sr: Srpski (crowd-sourced)
qualified_locale: sr-RS
crowdsourced: true
Also file sr_RS.js exists in /var/canvas/public/javascrpit/vendor/timezone.
But when i test it, everything on Canvas what is writen in JS stayed untranslated.
Does anyone have idea what can i do?
Forum:
TBH I'm not that familiar with Canvas
And it sounds like you have a pretty good handle on what you are trying to do...
FWIW TurnKey v13.0 is essentially a customised Debian Wheezy build so pretty much anything that applies to Debian Wheezy also applies to TurnKey.
I'm not sure if it matters but TurnKey by default only has US English configured - perhaps you need to configure additional locales on the server too?
Otherwise I have no idea...
Translate
I searched, and find lot of .js files, which should be translated. It should be done auttomaticly, by i18n:generate_js, but nothing happend after that.
I'm not sure
If you get it sorted it'd be great if you could post back. Thanks.
Add new comment