Forum archive
Add new language to Canvas
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?
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...