Thread: Example Language Extension
-
December 4th, 2017, 12:10 #1
- Join Date
- May 2014
- Location
- Sydney, Australia
- Posts
- 815
Example Language Extension
Hi all,
Attached is a sample extension for translating CoC7e to Spanish.
I'll post another with English for those wishing a more traditional starting point...
The data_eras.lua file contains the eras with their related skills. I have left the skill descriptions blank but they can be filled in.
The strings_coc.xml contains the strings to be converted - please ensure that the skill names coincide with those in data_eras.lua otherwise some of the ruleset automation will fail.
Please post here any other translations as you do them.
The skill list is converted to the UI based skills and eras on campaign creation. They can then be edited in the UI afterwards.
The character skill list is populated from the active era on first opening.
With these constraints, the translation extension will only work properly as expected for new campaigns or new characters.
Enjoy...
Ian
Updated to remove duplicate entries and to translate chase entriesLast edited by damned; December 7th, 2017 at 22:00.
-
December 4th, 2017, 12:18 #2
People also might like to check out the LPak Project, which provides translations of all sorts of Rulesets to all sorts of languages.
https://www.fantasygrounds.com/forum...roject-ProgramDulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
December 4th, 2017, 18:42 #3
Awesome!!!! Many thanks Ian
-
December 5th, 2017, 14:14 #4
- Join Date
- Jul 2011
- Location
- France
- Posts
- 37
Thank's Ian ! Now i can translate into French
MJ / Modeur français.
Tuto FG2 / Replays : https://www.youtube.com/user/kael79000/
Communauté JDRVirtuel :
https://jdrvirtuel.com/
-
December 5th, 2017, 19:47 #5
- Join Date
- Jul 2011
- Location
- France
- Posts
- 37
Hi ! Thank's for your job !
I have a question: in strings_coc.xml
The rules for Shield (ex: <string name="option_label_SHLD">Juego: Usa Reglas de Escudos</string> ) , it's use by CoC7E ruleset ? It's necessary for the good execution this extension ?
In addition, I noticed a few duplicate lines:
( 142 dupe of 131 ): <string name="char_tooltip_skilladdlanguage">Añadir Habilidad de Lengua</string>
( 144 dupe of 133 ): <string name="char_tooltip_skilladdart">Añadir Habilidad de Arte</string>
( 333 dupe of 329 ): <string name="ability_roll">[Atributo]</string>
( 401 dupe of 196 ): <string name="spell_emptyname">« Nuevo Conjuro »</string>
( 406 dupe of 205 ): <string name="skill_emptyname">« Nueva Habilidad »</string>
( 411 dupe of 214 ): <string name="era_emptyname">« Nueva Era »</string>
( 421 dupe of 219 ): <string name="talent_emptyname">« Nuevo Talento »</string>
( 498 dupe of 446 ): <string name="char_label_totalweight">Total</string>
( 510 dupe of 495 ): <string name="sidebar_tooltip_library">Librería</string>
( 743 dupe of 84 ): <string name="char_label_languages">Idiomas</string>
Thank's !
EDIT: I apologize for having ignored the basic civilitiesLast edited by kael79; December 5th, 2017 at 22:36.
MJ / Modeur français.
Tuto FG2 / Replays : https://www.youtube.com/user/kael79000/
Communauté JDRVirtuel :
https://jdrvirtuel.com/
-
December 6th, 2017, 06:23 #6
- Join Date
- May 2014
- Location
- Sydney, Australia
- Posts
- 815
-
December 6th, 2017, 10:42 #7
- Join Date
- Jul 2011
- Location
- France
- Posts
- 37
Thank you for your answer
MJ / Modeur français.
Tuto FG2 / Replays : https://www.youtube.com/user/kael79000/
Communauté JDRVirtuel :
https://jdrvirtuel.com/
-
December 7th, 2017, 16:50 #8
- Join Date
- Jul 2011
- Location
- France
- Posts
- 37
Hello !
I finished the French translation in the main line, but I have a problem: the skills list remains in English (whether with the French version or the Spanish version). Did I miss something?
(Sorry for my english google translate)MJ / Modeur français.
Tuto FG2 / Replays : https://www.youtube.com/user/kael79000/
Communauté JDRVirtuel :
https://jdrvirtuel.com/
-
December 7th, 2017, 21:41 #9
- Join Date
- May 2014
- Location
- Sydney, Australia
- Posts
- 815
The skill list is converted to the UI based skills and eras on campaign creation. They can then be edited in the UI afterwards.
The character skill list is populated from the active era on first opening.
With these constraints, the translation extension will only work properly as expected for new campaigns or new characters.
Please test your new extension on a new campaign with new characters.
-
December 7th, 2017, 22:22 #10
- Join Date
- Jul 2011
- Location
- France
- Posts
- 37
Thank you ! it works well !
MJ / Modeur français.
Tuto FG2 / Replays : https://www.youtube.com/user/kael79000/
Communauté JDRVirtuel :
https://jdrvirtuel.com/
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks