Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l10n – Addon translations #437

Open
Varstahl opened this issue Apr 3, 2020 · 0 comments
Open

l10n – Addon translations #437

Varstahl opened this issue Apr 3, 2020 · 0 comments

Comments

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2020

Current translations

Locale Status
de_DE sync
es_ES sync
fr_CA outdated, last 2020-05-01 @marcoboutch
he_IL outdated
hu_HU sync, last 2022-03-17 @frodo19
it_IT sync
pl_PL sync, last 2022-01-05 @notoco

How to help

If you would like to help translate the addon you can be useful by submitting new locales or updating the ones already available. The usage of software such as Poedit is strongly advised.

New locales

You can use the master .pot to start translating. If you are familiar with GitHub, cloned the repository, and want to submit a PR, the file name must be all lowercase as such: resources/language/resource.language.<locale>/strings.po. If you instead don't want to submit a PR, it doesn't matter.

Translating

Po/Pot files are text files which provide source/translated strings. The structure is simple:

msgctxt "#30001"
msgid "Amazon Account"
msgstr "<Translation goes here>"

Other than translating all msgids, if you're translating through a regular text editor you want to place the correct information in the Last-Translator, Language and Plural-Forms fields (for plural forms consult this link). For example:

"Last-Translator: @Varstahl\n"
"Language: it_IT\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"

It's recommended to use software that can help with the translation, such as the free cross-platform Poedit or other professional tools such as Passolo.

Providing the translation

New translations

You can submit a PR to the repository, or create an issue with the translation attached, and we'll manage the rest.

Existing translations

You can submit a PR or go to the specific translation file available in the master branch, click edit, and paste the updated content.

Edit translation

When ready, you can commit the changes by filling the required form below the editor, and this last step will create a PR for you.

Commit translation

Starting the commit title with l10n: (lower-case L10N) is preferred, together with the language locale. Commit titles such as l10n: it_IT update or l10n: added pt_BR help us and users find the appropriate PR faster.

In all other cases you can attach the translation file to a reply on this issue, or upload it somewhere and contact us in the Kodi forum thread.

Have worked on the translations

@basxto, @boblo1, @Eng2Heb, @frodo19, @marcoboutch, @MrCoolAndroid, @notoco, @Paco8, @Roby77ita, @Sandmann79, @Varstahl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant