|
| 1 | +# Common |
| 2 | +apiKey: API_KEY |
| 3 | + |
| 4 | +# Business plan option |
| 5 | +# customerId: ikea |
| 6 | + |
| 7 | + |
| 8 | +################################# |
| 9 | +# 'simplelocalize upload' command |
| 10 | +################################# |
| 11 | + |
| 12 | +# Upload path is a path to a file(s) with translations. Use {lang} placeholder to specify language or locale and {ns} placeholder to specify namespace. |
| 13 | +# For example, if you have translations in 2 languages and 2 namespaces, you can use the following path: ./src/translations/{lang}/{ns}.json. |
| 14 | +# Add '--dryRun' parameter to check what translation files will be uploaded without actually uploading them. |
| 15 | +uploadPath: ./src/translations.json |
| 16 | + |
| 17 | +# Upload format is a format of the file(s) with translations. |
| 18 | +# Supported formats: https://simplelocalize.io/docs/general/file-formats/ |
| 19 | +uploadFormat: multi-language-json |
| 20 | + |
| 21 | +# Upload options are options that are passed to the upload command. |
| 22 | +# Supported options: https://simplelocalize.io/docs/general/options/ |
| 23 | +uploadOptions: |
| 24 | +# - 'REPLACE_TRANSLATION_IF_FOUND' # overwrite translation for given a key and namespace if found |
| 25 | + |
| 26 | + |
| 27 | +################################### |
| 28 | +# 'simplelocalize download' command |
| 29 | +################################### |
| 30 | + |
| 31 | +# Download path is a path to a file(s) with translations. Use {lang} placeholder to specify language or locale and {ns} placeholder to specify namespace. |
| 32 | +# For example, if you have translations in 2 languages and 2 namespaces, you can use the following path: ./src/translations/{lang}/{ns}.json |
| 33 | +downloadPath: ./src/translations.json |
| 34 | + |
| 35 | +# Download format is a format of the file(s) with translations. |
| 36 | +# Supported formats: https://simplelocalize.io/docs/general/file-formats/ |
| 37 | +downloadFormat: multi-language-json |
| 38 | + |
| 39 | +# Download options are options that are passed to the download command. |
| 40 | +# Supported options: https://simplelocalize.io/docs/general/options/ |
| 41 | +downloadOptions: |
| 42 | +# - 'WRITE_NESTED' # write nested JSON |
| 43 | + |
| 44 | + |
| 45 | +######################################### |
| 46 | +# 'simplelocalize auto-translate' command |
| 47 | +######################################### |
| 48 | + |
| 49 | +# autoTranslation.languageKeys is a list of languages that should be auto-translated. |
| 50 | +# Leave empty to auto-translate all project languages. |
| 51 | +autoTranslation: |
| 52 | + languageKeys: |
| 53 | + - 'en' |
| 54 | + - 'de' |
| 55 | + |
| 56 | +################################## |
| 57 | +# 'simplelocalize extract' command |
| 58 | +################################## |
| 59 | + |
| 60 | +# Extract path is a path to a directory with application source code. |
| 61 | +searchDir: ./src |
| 62 | + |
| 63 | +# Project type is a type of the project. It is used to extract i18n keys from the source code. |
| 64 | +# Supported project types: https://simplelocalize.io/docs/cli/i18n-keys-extraction/ |
| 65 | +projectType: yahoo/react-intl |
| 66 | + |
| 67 | +# Ignore keys are a list of keys that should be ignored during i18n keys extraction. |
| 68 | +ignoreKeys: |
| 69 | + - 'WELCOME' |
| 70 | + - 'ABOUT-US' |
0 commit comments