Contributing Translations¶
Help translate JE's interface into your language or improve existing strings. You can contribute through Weblate without a local development setup.
Translate on Weblate (Recommended)¶
Weblate keeps translation work in one place and provides quality checks.
- Open the Jellyfin Enhanced project on Weblate.
- Choose your language, or request a new language through the project.
- Translate or improve strings using the English source and available context.
- Review the validation feedback and save your changes.
Use the project engagement page to find languages that need help.
Preserve functional text¶
Translate the visible wording while keeping the parts the interface needs to work. Use consistent wording across related controls. Check long strings in context where possible, especially buttons, notifications, and dialogs.
Note
Translate values, not JSON keys. Do not replace a missing translation with an empty string.
Details
Preserve these parts exactly:
- Variables such as
{count},{query}, or{userName}. They may move within a sentence, but must retain their names and braces. - Icon tokens such as
{{icon:search}}. - Functional HTML, such as
<kbd>,<br>, and links. Translate visible text without breaking the markup or changing required attributes. - Escape sequences and valid JSON syntax. For example, a newline inside a JSON string is written as
\n.
Plural forms¶
A string that holds a count ({count}, {days}, {n}, {items}, {hours}, {minutes} or {seconds}) can have one form per CLDR plural category of your language: add the key with _zero, _one, _two, _few, _many or _other appended, next to the plain key. For example, English has "panel_media_tags_badge_window_added": "within {days} days of being added" and "panel_media_tags_badge_window_added_one": "within {days} day of being added".
The browser and the server-drawn posters both choose the form by your language's rules (Russian 21 is _one, 3 is _few, 5 is _many). A category your file has no form for uses _other, then the plain key, so the plain key should read correctly for the most common count. Forms keep the same variables as the plain key. English forms are never used for a sentence your file translates.
Weblate lists the keys the English file has, so it offers the _one forms. A category English does not need (_few, _many, _two, _zero) can be added to your language's file through the manual JSON route below; until then the plain key covers it.
Maintainer Fallback: Manual JSON Changes¶
When Weblate is unavailable, maintainers can update locale JSON in the repository. Prefer the Weblate workflow for normal contributions so edits stay coordinated.
- Work in
Jellyfin.Plugin.JellyfinEnhanced/js/locales/. - For an existing language, edit its JSON file. For a new language, copy
en.jsonand name the file with its language code, such ases.json; follow the existing naming convention for regional variants. - Translate string values while preserving keys, placeholders, icon tokens, and functional markup.
-
From the repository root, validate the changed language:
Replace
eswith your language code. To validate every locale: -
Fix errors and review warnings, then submit a pull request describing the language and changes.
A passing check does not replace reviewing grammar, meaning, or layout.
How it works
The validator compares locales with en.json. Missing keys are errors; extra keys and empty strings produce warnings. For source strings that contain placeholders, missing placeholders are errors and extra placeholders produce warnings.
It does not detect added placeholders in a string whose English source has none, so review those manually. Validation errors return a nonzero exit status.
Translation Updates¶
Merged translations normally reach your installed plugin with a plugin release. They do not immediately replace translations included with the version you already have.
- To select a language, open personal Settings → Language Settings → Display Language.
- Choose your language. JE saves your choice to your account and browser, then reloads the page.
Clear Translation Cache removes this browser's saved translations and reloads. It normally loads the translation included with your installed plugin again.
How it works
When you open JE, it looks for translations in this order:
- A copy saved in your browser for the installed plugin version, valid for 24 hours.
- The translation included with your installed plugin, using the base language if the selected regional translation is not included.
- A translation from the repository, downloaded through your Jellyfin server, if your installed translation is unavailable.
JE uses English if it cannot load your selected language.
For a regional choice such as fr-CA, JE uses included French (fr) if Canadian French is not included. If no matching included translation can be loaded, JE tries the regional translation from the repository and may then use English without trying the repository's base-language translation.
The language menu lists translations included with your plugin and checks GitHub for newly added languages. Seeing a new language in the menu does not mean the translations you already have were updated from the repository.
Refresh Translation Cache asks all clients to clear their saved translations on their next page load. This scheduled task runs when Jellyfin starts by default.
See How do I change the plugin's language? for administrator defaults and personal overrides.
If a translated string is wrong, report it through Weblate. Include the language, affected screen, English source or string key, and suggested correction. Use Support & Community if you need help finding the string.
Media Tags reuses existing keys for repeated UI words. Its enum tables reference the shared keys directly; compact codec/edition codes and proper rating-source names remain literals. Tag size choices are the numeric percentages 85%, 100%, 115%, and 130%. Translate descriptive words (including Mixed and full edition names), rather than adding keys for numbers or codes.
