mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-27 04:03:17 +08:00
* 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>
44 lines
1.5 KiB
ReStructuredText
44 lines
1.5 KiB
ReStructuredText
.. _mi18n-lang:
|
|
|
|
draggable/i18n lang files
|
|
-------------------------
|
|
|
|
.. index::
|
|
pair: mi18n lang; file format
|
|
pair: i18n lang; file format
|
|
|
|
.. versionadded:: 4.7
|
|
|
|
.. note::
|
|
|
|
The library was former published as mi18n.
|
|
|
|
File format used for JavaScript localization by `draggable/i18n`_. Syntactically it matches :ref:`javaprop`.
|
|
|
|
.. seealso::
|
|
|
|
* `draggable/i18n`_
|
|
* :doc:`tt:formats/properties`
|
|
* :ref:`javaprop`
|
|
* :ref:`updating-target-files`
|
|
* :ref:`addon-weblate.properties.sort`
|
|
* :ref:`addon-weblate.cleanup.generic`
|
|
|
|
.. _draggable/i18n: https://github.com/Draggable/i18n
|
|
|
|
.. include:: /snippets/format-features/mi18n-lang-features.rst
|
|
|
|
Weblate configuration
|
|
+++++++++++++++++++++
|
|
|
|
+-------------------------------------------------------------------+
|
|
| Typical Weblate :ref:`component` |
|
|
+================================+==================================+
|
|
| File mask | ``*.lang`` |
|
|
+--------------------------------+----------------------------------+
|
|
| Monolingual base language file | ``en-US.lang`` |
|
|
+--------------------------------+----------------------------------+
|
|
| Template for new translations | `Empty` |
|
|
+--------------------------------+----------------------------------+
|
|
| File format | `draggabble/i18n lang file` |
|
|
+--------------------------------+----------------------------------+
|