DICE PACKS BUNDLE
Page 1 of 3 123 Last
  1. #1

    Join Date
    May 2014
    Location
    Sydney, Australia
    Posts
    809

    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 entries
    Attached Files Attached Files
    Last edited by damned; December 7th, 2017 at 22:00.

  2. #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-Program
    Dulux-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

  3. #3
    CthulhuRol's Avatar
    Join Date
    Jul 2016
    Location
    Ferrol, Galicia, Spain
    Posts
    44
    Awesome!!!! Many thanks Ian

  4. #4
    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/

  5. #5
    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 civilities
    Last 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/

  6. #6

    Join Date
    May 2014
    Location
    Sydney, Australia
    Posts
    809
    Quote Originally Posted by kael79 View Post
    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 ?
    That is needed for the upcoming Cthulhu through the ages supplement which will support shields for defense and attack.

    Quote Originally Posted by kael79 View Post
    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 civilities
    I’ll get rid of the dups, thanks.

  7. #7
    Thank you for your answer
    MJ / Modeur français.
    Tuto FG2 / Replays : https://www.youtube.com/user/kael79000/
    Communauté JDRVirtuel :
    https://jdrvirtuel.com/

  8. #8
    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/

  9. #9

    Join Date
    May 2014
    Location
    Sydney, Australia
    Posts
    809
    Quote Originally Posted by kael79 View Post
    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)
    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.

  10. #10
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in