Repository navigation
feat(locale): add Azerbaijani translation - #5896
Merged
Merged
Conversation
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_AZ) as a new interface language.app/Locale/az_AZ/translations.php— all 1468 strings translated, none left emptyapp/Model/LanguageModel.php— registered in the three places:getCodes(), the language name map (Azərbaycanca) and the JS code map (az)Locale conventions
number.decimals_separatoris,andnumber.thousands_separatoris., and the date format is%%d.%%m.%%Y. These follow CLDR foraz, where1234567.89renders as1.234.567,89and 25 November 2020 as25.11.2020.Notes on terminology
Azerbaijani and Turkish are close enough that Turkish forms slip into Azerbaijani translations easily, so terminology was fixed up front and then checked mechanically: one stem per concept, so
tapşırıq(task),layihə(project),sütun(column),zolaq(swimlane),icraçı(assignee) andteq(tag) never appear spelled two different ways.Terms with no settled Azerbaijani equivalent were translated by their meaning rather than transliterated:
ümumi müddətand cycle time →icra müddəti— the file itself defines them as creation-to-completion and start-to-completion, so the pair stays distinguishableqalan iş qrafiki, matching the "(Work Remaining)" wording of its own descriptiongözləyən işlərOnly genuine technical names are kept in English:
API,URL,RSS,iCal,Webhook,PHP,SAPI,OAuth2,BOM,HTTP,Markdown,Kanboard.Checks
php -lis clean on both files.%s,%dand%%placeholder matches the source string — verified key by key against an existing locale; 0 differences.I was not able to run the PHPUnit suite locally, so
tests/units/Model/LanguageTest.phphas not been executed on my side — it asserts specific codes rather than a count, so addingaz_AZshould not affect it, but CI will confirm.