| Variable | Description | Example |
|---|---|---|
{basename} | Full name of the file, including file extension | If source directory is: ./source-directoryGiven: ./source-directory/json-files/ui.jsonThen {basename}: ui.json |
{filename} | Name of the file without the file extension. This variable is usually used to change the extension of translated files. | If source directory is: ./source-directoryGiven: ./source-directory/json-files/ui.jsonThen {filename}: ui |
{path} | The directory path from the source directory onto the file. This is the most useful variable to modify your directory structure. | If source directory is: ./source-directoryGiven: ./source-directory/json-files/v1/public/ui.jsonThen {path}: json-files/v1/public |
{locale} | The translation language code that is being processed. This is most useful when your translation directories have different needs for target language directories. | en-US, fr, zh-CN etc... |
