mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-28 12:47:33 +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>
53 lines
1.6 KiB
ReStructuredText
53 lines
1.6 KiB
ReStructuredText
.. _ini:
|
|
|
|
INI translations
|
|
----------------
|
|
|
|
.. index::
|
|
pair: INI translations; file format
|
|
|
|
.. versionadded:: 4.1
|
|
|
|
INI file format for translations.
|
|
Weblate currently supports several variants of JSON translations:
|
|
|
|
* Monolingual INI files
|
|
* :ref:`joomla`
|
|
* :ref:`islu`
|
|
|
|
INI translations are usually used as monolingual translations.
|
|
|
|
.. note::
|
|
|
|
Weblate only extracts keys from sections within an INI file. In case your INI
|
|
file lacks sections, you might want to use :ref:`joomla` or :ref:`javaprop`
|
|
instead.
|
|
|
|
.. seealso::
|
|
|
|
* :doc:`tt:formats/ini`
|
|
* :ref:`javaprop`
|
|
* :ref:`joomla`
|
|
* :ref:`islu`
|
|
|
|
Example file:
|
|
|
|
.. literalinclude:: ../../weblate/trans/tests/data/cs.ini
|
|
:language: ini
|
|
|
|
.. include:: /snippets/format-features/ini-features.rst
|
|
|
|
Weblate configuration
|
|
+++++++++++++++++++++
|
|
|
|
+-------------------------------------------------------------------+
|
|
| Typical Weblate :ref:`component` |
|
|
+================================+==================================+
|
|
| File mask | ``language/*.ini`` |
|
|
+--------------------------------+----------------------------------+
|
|
| Monolingual base language file | ``language/en.ini`` |
|
|
+--------------------------------+----------------------------------+
|
|
| Template for new translations | `Empty` |
|
|
+--------------------------------+----------------------------------+
|
|
| File format | `INI File` |
|
|
+--------------------------------+----------------------------------+
|