Go to file
Ali c57de8e6fa Translate UOM Category (az, ru) + fix extras override
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>
2026-06-16 10:08:51 +00:00
az_locale Translate UOM Category (az, ru) + fix extras override 2026-06-16 10:08:51 +00:00
.editorconfig feat: Initialize App 2025-03-04 17:32:00 +04:00
.eslintrc feat: Initialize App 2025-03-04 17:32:00 +04:00
.gitignore feat: Initialize App 2025-03-04 17:32:00 +04:00
.pre-commit-config.yaml feat: Initialize App 2025-03-04 17:32:00 +04:00
README.md chore: use native Azərbaycan spelling in app description 2026-05-14 10:57:28 +00:00
license.txt feat: Initialize App 2025-03-04 17:32:00 +04:00
pyproject.toml chore: use native Azərbaycan spelling in app description 2026-05-14 10:57:28 +00:00

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