Skip to content

Commit

Permalink
Merge pull request #104 from simplelocalize/update-dependencies
Browse files Browse the repository at this point in the history
Add missing file
  • Loading branch information
jpomykala authored Apr 15, 2024
2 parents eab9321 + dfec220 commit 93b1ca0
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*.ipr

extraction.json
simplelocalize.yml

test

Expand Down
70 changes: 70 additions & 0 deletions simplelocalize.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Common
apiKey: API_KEY

# Business plan option
# customerId: ikea


#################################
# 'simplelocalize upload' command
#################################

# 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.
# For example, if you have translations in 2 languages and 2 namespaces, you can use the following path: ./src/translations/{lang}/{ns}.json.
# Add '--dryRun' parameter to check what translation files will be uploaded without actually uploading them.
uploadPath: ./src/translations.json

# Upload format is a format of the file(s) with translations.
# Supported formats: https://simplelocalize.io/docs/general/file-formats/
uploadFormat: multi-language-json

# Upload options are options that are passed to the upload command.
# Supported options: https://simplelocalize.io/docs/general/options/
uploadOptions:
# - 'REPLACE_TRANSLATION_IF_FOUND' # overwrite translation for given a key and namespace if found


###################################
# 'simplelocalize download' command
###################################

# 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.
# For example, if you have translations in 2 languages and 2 namespaces, you can use the following path: ./src/translations/{lang}/{ns}.json
downloadPath: ./src/translations.json

# Download format is a format of the file(s) with translations.
# Supported formats: https://simplelocalize.io/docs/general/file-formats/
downloadFormat: multi-language-json

# Download options are options that are passed to the download command.
# Supported options: https://simplelocalize.io/docs/general/options/
downloadOptions:
# - 'WRITE_NESTED' # write nested JSON


#########################################
# 'simplelocalize auto-translate' command
#########################################

# autoTranslation.languageKeys is a list of languages that should be auto-translated.
# Leave empty to auto-translate all project languages.
autoTranslation:
languageKeys:
- 'en'
- 'de'

##################################
# 'simplelocalize extract' command
##################################

# Extract path is a path to a directory with application source code.
searchDir: ./src

# Project type is a type of the project. It is used to extract i18n keys from the source code.
# Supported project types: https://simplelocalize.io/docs/cli/i18n-keys-extraction/
projectType: yahoo/react-intl

# Ignore keys are a list of keys that should be ignored during i18n keys extraction.
ignoreKeys:
- 'WELCOME'
- 'ABOUT-US'

0 comments on commit 93b1ca0

Please sign in to comment.