You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> See **[Example `poeditor.yml` files](#example-poeditoryml-files)** section for more examples.
49
+
50
+
* **api_key**
51
+
52
+
Your POEditor API key. You can check it on [POEditor API Access](https://poeditor.com/account/api). Use such like `$MY_API_KEY` to use environment variable.
53
+
54
+
* **project_id**
55
+
56
+
POEditor project ID. You can check this value on the web browser's address bar. (For example: `https://poeditor.com/projects/view?id=XXXXX`) Use such like `$MY_PROJECT_ID` to use environment variable.
57
+
58
+
* **languages**
59
+
60
+
Language codes to export. Use the language codes that your project uses. For example, use `zh-Hans` for Xcode project and `zh-rCN` for Android project even though POEditor uses `zh-CN` for simplified chinese.
61
+
62
+
* **language_alias** *(Optional)*
63
+
64
+
Specify this value to copy the translation file to another language. For example, `zh` is same with the translation of `zh-Hans` or `zh-rCN`. In this case, you can specify the `language_alias` value as follows:
65
+
66
+
```yaml
67
+
languages: [ko, ja, zh-Hans, zh-Hant]
68
+
language_alias:
69
+
zh: zh-Hans
70
+
```
71
+
72
+
* **path**
73
+
74
+
The path for translation files to be downloaded. Each values of `languages` will be used for filling `{LANGUAGE}` placeholder.
75
+
76
+
* **path_replace** *(Optional)*
77
+
78
+
Specify this value to enforce the translation file path. For example, Android uses `values/strings.xml` for default language and `values-ko/strings.xml` or `values-ja/strings.xml` for others. In this case, you can specify the `path_replace` as follows:
| `api_key` | Your POEditor API key. You can check it on [POEditor API Access](https://poeditor.com/account/api). |
41
-
| `project_id` | POEditor project ID. You can check this value on the web browser's address bar.<br />For example: `https://poeditor.com/projects/view?id=XXXXX`|
42
-
| `languages` | Language codes to export. Use your project's language code.<br />For example, use `zh-Hans` if you're working on Xcode project even though POEditor uses `zh-CN` for simplified chinese. |
43
-
| `path` | The path for translation files to be downloaded. Each values of `languages` will be used for filling `{LANGUAGE}` placeholder. |
0 commit comments