diff --git a/docs/formats/android.rst b/docs/formats/android.rst index e26352c63420..605f14302f47 100644 --- a/docs/formats/android.rst +++ b/docs/formats/android.rst @@ -9,6 +9,8 @@ Android string resources Android specific file format for translating applications. +The same file format is also used by JetBrains Compose Multiplatform Kotlin Resources. + Android string resources are monolingual, the :ref:`component-template` is stored in a different location from the other files -- :file:`res/values/strings.xml`. @@ -58,10 +60,11 @@ Weblate does following escaping of strings: .. seealso:: `Android string resources documentation `_, + `JetBrains Compose Multiplatform Kotlin Resources `_, :doc:`tt:formats/android` -Weblate configuration -+++++++++++++++++++++ +Weblate configuration for Android resource strings +++++++++++++++++++++++++++++++++++++++++++++++++++ +-------------------------------------------------------------------+ | Typical Weblate :ref:`component` | @@ -74,3 +77,18 @@ Weblate configuration +--------------------------------+----------------------------------+ | File format | `Android String Resource` | +--------------------------------+----------------------------------+ + +Weblate configuration for JetBrains Compose Multiplatform Kotlin Resources +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + ++-------------------------------------------------------------------------------------------+ +| Typical Weblate :ref:`component` | ++================================+==========================================================+ +| File mask | ``commonMain/composeResources/values-*/strings.xml`` | ++--------------------------------+----------------------------------------------------------+ +| Monolingual base language file | ``commonMain/composeResources/values/strings.xml`` | ++--------------------------------+----------------------------------------------------------+ +| Template for new translations | `Empty` | ++--------------------------------+----------------------------------------------------------+ +| File format | `Android String Resource` | ++--------------------------------+----------------------------------------------------------+ diff --git a/docs/formats/moko.rst b/docs/formats/moko.rst index 98ff51e7ab69..a4f42a5782cb 100644 --- a/docs/formats/moko.rst +++ b/docs/formats/moko.rst @@ -8,6 +8,12 @@ Mobile Kotlin resources `Mobile Kotlin resources`_ specific format heavily based on :doc:`/formats/android`. +.. note:: + + There is also JetBrains Compose Multiplatform Kotlin Resources which use a + different format which matches :doc:`/formats/android`, please use that + instead. + Weblate configuration +++++++++++++++++++++