weblate/docs/formats/arb.rst
Gersona 725bd96349
feat(docs): Automatically generate format features docmentation (#18106)
* initial implementation suggestion

* basic supported features snippets generation

* Add API identifiers, read-only strings and common extensions to features table

* generate doc features snippet files

* autogenerated snippets cleanup

* changelog update

* delete one file to test auto-update

* replace SUPPORTS_FUZZY with file format additional_states flag

* docs: Documentation snippets update

* fix include statetement typo

* fix incorrect monolingual attributes

* minor styling change

* docs: Documentation snippets update

* exclude snippets from being treated as standalone documents

* Set YAMLFormat as both mono/bilingual

* docs: Documentation snippets update

* fix duplicate format IDs

* only use backwards quotes for literals

---------

Co-authored-by: gersona <6675010+gersona@users.noreply.github.com>
Co-authored-by: Michal Čihař <michal@weblate.org>
2026-04-01 15:41:20 +00:00

41 lines
1.5 KiB
ReStructuredText

.. _arb:
ARB File
--------
.. index::
pair: ARB; file format
.. versionadded:: 4.1
ARB translations are monolingual, so it is recommended to specify a base file
with (what is most often the) English strings.
.. seealso::
* :doc:`tt:formats/json`
* `Application Resource Bundle Specification`_
* `Internationalization of Flutter apps`_
* :ref:`updating-target-files`
* :ref:`addon-weblate.json.customize`
* :ref:`addon-weblate.cleanup.generic`
.. _Internationalization of Flutter apps: https://docs.flutter.dev/ui/internationalization
.. _Application Resource Bundle Specification: https://github.com/google/app-resource-bundle/wiki/ApplicationResourceBundleSpecification
.. include:: /snippets/format-features/arb-features.rst
Weblate configuration
+++++++++++++++++++++
+-------------------------------------------------------------------+
| Typical Weblate :ref:`component` |
+================================+==================================+
| File mask | ``lib/l10n/intl_*.arb`` |
+--------------------------------+----------------------------------+
| Monolingual base language file | ``lib/l10n/intl_en.arb`` |
+--------------------------------+----------------------------------+
| Template for new translations | `Empty` |
+--------------------------------+----------------------------------+
| File format | `ARB file` |
+--------------------------------+----------------------------------+