.phrase.yml
Phrase configuration file
| Type | object |
|---|---|
| File match |
.phrase.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/phrase-yml/latest.json |
| Source | https://www.schemastore.org/phrase.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Root element of the Phrase config
7 nested properties
API URL. Set to https://api.us.app.phrase.com/v2 when using the US datacenter
Access Token for authorization. Can be created in the user profile
File format name. See the format guide in the documentation for all supported file formats
ID of the project
Optional mapping between locale names in Phrase and locale names in the local files. This works in conjunction with <locale_name> placeholder in the file patterns. If a mapping is provided, the placeholders will be replaced with the corresponding values in the mapping. If a locale name is not included in the mapping, the locale name in Phrase will be used as a fallback.
1 nested properties
Source files that will be uploaded on push
1 nested properties
List of files that will be downloaded on pull
Definitions
ID of the project
File format name. See the format guide in the documentation for all supported file formats
Locale that should be downloaded. Locale ID or locale name are valid options
Enforces a specific encoding on the file contents. Valid options are "UTF-8", "UTF-16" and "ISO-8859-1"
Additional options available for specific formats. See our format guide for complete list.
Column separator character
Optional mapping between locale names in Phrase and locale names in the local files. This works in conjunction with <locale_name> placeholder in the file patterns. If a mapping is provided, the placeholders will be replaced with the corresponding values in the mapping. If a locale name is not included in the mapping, the locale name in Phrase will be used as a fallback.