Create Translations for Trakt Plugin (1 Viewer)

Status
Not open for further replies.

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Trakt for MediaPortal is fully translatable and we need your help to create translations in your native language.

    Here is a step by step guide on helping us achieve this goal:

    1. Install Trakt if not already installed.
    2. Download the Language Tool attached to this thread.
    3. Extract the archive to disk and Launch the Language Tool.
    4. Click on Browse button to select the Primary Language File.
    5. Select the Trakt\en-US.xml file from the Browse File dialog, you should open directly to the base languages folder.
    6. Enter a Local Language that you want to translate in the Select Local Language box.
    7. Click the Load button. If it's a new translation, then a new file will be created for you.
    8. Each row that appears in Yellow means there is no translation yet available, to create a translation for a string you need to click on the Local Language field.

    LanguageTool.jpg


    9. Enter the local translation for the string selected.
    10. Repeat steps 8-9 for each translation missing.
    11. Once you have completed all translations, click on the Save button.
    12. Now in explorer browse to your Trakt language folder and you should find the corresponding language file has been generated/updated.
    13. You can now create a new post in this forum thread and attach the language file so we can include it in our release package.

    Please remember to keep any newline (\n) placeholders, you can change their position based on length of translation. Newlines are used in Dialogs where you can have up to 4 lines of text. Also its very very important not to remove any string format placeholders like ({0}, {1}).

    Thanks trevor for spending some time to create this very useful tool.

    :D
     

    Attachments

    • TranslationFileBuild.rar
      19.7 KB

    z3us

    Portal Pro
    December 4, 2007
    1,047
    123
    44
    Home Country
    Spain Spain
    Translating to spanish...
    Whats the context of "approve"? Can I see it inside GUI?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #3
    Whats the context of "approve"? Can I see it inside GUI?

    Hi z3us, 'Approve' is currently not being used by the plugin. It is there to assist skinners if they need that property. Most translations are used by plugin but there is small handful which are not but still exposed for skinners.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #5
    Its this right?:
    \n{0}
    It doesnt matter where in the string you put the \n, use your best estimate based on your translation. If you think the line is getting to long to fit in a GUI dialog put the \n in to break onto next line. {0}, {1}...etc are just place holders for text we set from the plugin e.g. a friends name.
     

    z3us

    Portal Pro
    December 4, 2007
    1,047
    123
    44
    Home Country
    Spain Spain
    Probably some strings would need review because I cant see the context. And perhaps there are some strings too long
    but here is spanish translation
     

    Attachments

    • es.xml
      11.4 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #8
    so \n is a jump of line?
    Yes, I have attached an example of the SynchronizeNow translation.

    Probably some strings would need review because I cant see the context. And perhaps there are some strings too long
    but here is spanish translation
    Thanks, I made a fix to your ApproveFriendMessage translation as it was missing the {0} placeholder.
     

    Attachments

    • SynchronizeNewLine.jpg
      SynchronizeNewLine.jpg
      57.7 KB
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom