Add UOM Category to the translated-doctype pipeline so its values (shown as the `category` column of UOM Conversion Factor) render in az/ru: - force translated_doctype=1 on the DocType JSON (update_doctype.py) - list-view subject formatter (translate_listview_subjects.js + hooks) - 11 missing category names + override of two upstream mistranslations: "Force" (was a verb) and "Area" (was "region") in extras.po (az, ru) Fix _merge_extras: babel's Catalog.__setitem__ only merges metadata for an existing key and never overwrites the translation string, so extras could add new msgids but never correct an existing upstream one. Force the string so "extras wins on conflict" actually holds (this is what made the "Area" override take effect). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| az_locale | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| README.md | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Az Locale
This app adds Azərbaycan language and currency
Installation
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch develop
bench install-app az_locale
Contributing
This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/az_locale
pre-commit install
Pre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
License
unlicense