Translations

pch
@pch
12 years ago
328 posts
Hi Friends,

Will the JR4 language files work with JR5? Are they using the same strings?

Can someone tell where can I find the Spanish, French and Portuguese (Brazilian and Portugal) translations for JR5? Are they available and where to download them from?

Thanks
updated by @pch: 12/16/13 10:54:19PM
brian
@brian
12 years ago
10,149 posts
No - JR5 uses a completely different language setup than JR4 - you can modify the language strings from the ACP -> Language tab (for any module or skin that has language strings that can be modified).

There are no other translations for JR5 at this time - only English - sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
douglas
@douglas
12 years ago
2,807 posts
Those languages are not available simply because we can't translate the language file into any of those languages.

The ProJam skin has a loosely translated language file for Spanish, so this can be done, just translate the English language file into the language you want and then add a link for it like this:

Using Spanish as an example
<a href="?set_user_language=es-ES">Spanish</a>

Then when a user clicks the link, your site will be translated into Spanish.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
If you do make a translation, it would be great if you made it available as a lang to other jamroom users. nfi.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 11/06/13 04:02:58PM
pch
@pch
12 years ago
328 posts
@Brian

Thanks. Instead of modifying the language strings through the ACP -> Language tab, can we translate the language file and upload it to the server as we used to do with JR4?

@Douglas

Thanks for the tip. I will look into it.
brian
@brian
12 years ago
10,149 posts
pch:
@Brian

Thanks. Instead of modifying the language strings through the ACP -> Language tab, can we translate the language file and upload it to the server as we used to do with JR4?

Yes, you can do it this way but just note that there is no central language file like there was in JR4 (since each module provides its own language file). So for example you will see a file like this:

modules/jrAudio/lang/en-US.php

that's the english lang file for the Audio module. So you can modify that file, upload it, then run an integrity check and the lang strings will be updated.

HOWEVER, note that if you update that module via the Marketplace, the lang file will be overwritten with the "core" one again, so make sure and save a copy of your file so after you update you can compare and adjust as needed.

If you are adding a NEW language, then you don't have to worry as much - upload the file to that directory (say es-ES.php), run the integrity check with cache reset checked and the new lang strings will be added.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
pch
@pch
12 years ago
328 posts
Great. Thanks a lot.

Tags