Skip to content

Commit

Permalink
fix: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar committed May 6, 2024
1 parent 814c712 commit e625a2d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions backend/data/src/main/kotlin/io/tolgee/dtos/ExportParamsDocs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,15 @@ This is possible only when single language is exported. Otherwise it returns "40
const val FILE_STRUCTURE_TEMPLATE_DESCRIPTION =
"""This is a template that defines the structure of the resulting .zip file content.
The template is a string that can contain the following placeholders: {namespace}, {languageTag}, {extension}.
The template is a string that can contain the following placeholders: {namespace}, {languageTag},
{androidLanguageTag}, {snakeLanguageTag}, {extension}.
For example, when exporting to JSON with the template `{namespace}/{languageTag}.{extension}`,
the English translations of the `home` namespace will be stored in `home/en.json`.
"""
The `{snakeLanguageTag}` placeholder is the same as `{languageTag}` but in snake case. (e.g., en_US).
The Android specific `{androidLanguageTag}` placeholder is the same as `{languageTag}`
but in Android format. (e.g., en-rUS)
"""
}

0 comments on commit e625a2d

Please sign in to comment.