🌐 Adds Azerbaijani (az) translation - #2334
Merged
Merged
Conversation
✅ Deploy Preview for dashy-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Azerbaijani (
az) as a new language, following the three steps indocs/multi-language-support.md:src/assets/locales/az.json— all 500 keys translatedsrc/utils/languages.jsas{ name: 'Azərbaycan dili', code: 'az', flag: '🇦🇿' }yarn validate-localesreportsazat 100% coverage — currently the most complete non-English locale in the repo.Deliberate choices
The three
{plural}placeholders are dropped (files,storages,updates-available). Azerbaijani keeps a noun singular after a numeral — "1234 fayl", never "1234 fayllar" — so there is no suffix for the placeholder to carry.de.jsonresolves these the same way.Five values stay in English on purpose:
Dashy(product name),MinimalandRegion(identical words in Azerbaijani),Service WorkerandVPN IP(technical names that are not translated in Azerbaijani usage).nextcloud.ofis rendered as/, andnextcloud.inas an em dash. Azerbaijani has no prepositions — the equivalent is a case ending on the following noun, which a fixed English word order cannot produce.5 GB / 10 GBis the natural way to write that in Azerbaijani, and a neutral separator is more honest than a preposition that does not exist.On the translation itself
Azerbaijani and Turkish are close enough that Turkish forms slip into Azerbaijani translations easily, so every string was checked twice: once against the Azerbaijani alphabet, and once against a list of Turkish look-alike words. Terminology was also checked for internal consistency — a single stem per concept, so
konfiqurasiya,bölmə,vidcet,mübadilə buferiandehtiyat nüsxənever appear spelled two different ways.The only strings containing characters outside the Azerbaijani alphabet are the 🩷 emoji carried over from the English source,
Service Worker, and the{widgets}placeholder.Checks
yarn validate-localesazat 100%yarn lintvue-tsc --noEmitvitest runKey order and nesting match
en.jsonexactly, and no value is left empty.