Skip to content

Commit 22d7ade

Browse files
Merge pull request #1101 from LucasXu0/translation
docs: add translation.md
2 parents 2258e34 + 595405f commit 22d7ade

File tree

1 file changed

+16
-0
lines changed
  • frontend/app_flowy/packages/appflowy_editor/documentation

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Translate AppFlowy Editor
2+
3+
You can help Appflowy Editor in supporting various languages by contributing. Follow the steps below sequentially to contribute translations.
4+
5+
## Steps to modify an existing translation
6+
Translation files are located in: `frontend/app_flowy/packages/appflowy_editor/lib/l10n/`
7+
1. Install the Visual Studio Code plugin: [Flutter intl](https://marketplace.visualstudio.com/items?itemName=localizely.flutter-intl)
8+
2. Modify the specific translation file.
9+
3. Save the file and the translation will be generated automatically.
10+
11+
## Steps to add new language
12+
Translation files are located in: `frontend/app_flowy/packages/appflowy_editor/lib/l10n/`
13+
1. Install the Visual Studio Code plugin: [Flutter intl](https://marketplace.visualstudio.com/items?itemName=localizely.flutter-intl)
14+
2. Copy the `intl_en.arb` as a base translation and rename the new file to `intl_<new_locale>.arb`
15+
3. Modify the new translation file.
16+
4. Save the file and the translation will be generated automatically.

0 commit comments

Comments
 (0)