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
Copy file name to clipboardExpand all lines: 014-docs.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,20 +25,28 @@ The guide should follow [Micosoft style guide](https://learn.microsoft.com/en-us
25
25
26
26
### Translation
27
27
28
-
The definitive guide uses [po4a](https://github.com/mquinson/po4a) in Github Action for translations.
28
+
The definitive guide uses [po4a](https://github.com/mquinson/po4a) in GitHub Action for translations.
29
+
29
30
Translation algorithm:
30
-
- Install an application for working with `.po` translation files. For example, [Poedit](https://poedit.net/), [Lokalize](https://apps.kde.org/ru/lokalize/), [Gtranslator](https://wiki.gnome.org/Apps/Gtranslator) or another.
31
-
- Find folder with the name of the file you want to translate in `/guide/po`. Note that if the source file is in a subfolder, the subfolder name is appended to the folder and separated by an underscore, for example: for translating `guide/en/concept/aliases.md` file find `guide/po/concept_aliases.md` folder.
32
-
- Open the file with the `.po` extension in `Poedit` from the folder with the desired localization, for example `guide/po/intro_what-is-yii.md/ru/intro_what-is-yii.md.ru.po`. If there is no localization yet, create an issue.
31
+
32
+
- Install an application for working with `.po` translation files. For example, [Poedit](https://poedit.net/), [Lokalize](https://apps.kde.org/ru/lokalize/),
33
+
[Gtranslator](https://wiki.gnome.org/Apps/Gtranslator) or another.
34
+
- Find folder with the name of the file you want to translate in `/guide/po`. Note that if the source file
35
+
is in a subfolder, the subfolder name is appended to the folder and separated by an underscore, for example,
36
+
for translating `guide/en/concept/aliases.md` file find `guide/po/concept_aliases.md` folder.
37
+
- Open the file with the `.po` extension in `Poedit` from the folder with the desired localization,
38
+
for example `guide/po/intro_what-is-yii.md/ru/intro_what-is-yii.md.ru.po`. If there is no localization yet,
39
+
create an issue.
33
40
- Translate necessary strings and push the changes
34
-
- Open pull request to main repository
41
+
- Open a pull request to the main repository
35
42
36
43
> [!CAUTION]
37
44
> Do not change the translation in files in `/guide/{lang}` manually.
38
45
39
-
If you have changed English documentation:
40
-
- Open pull request to main repository
41
-
- Pull updated branch after successful completion of workflow `Update docs translation` in Github Action
46
+
If you have changed English and want to update translations:
47
+
48
+
- Open a pull request to the main repository
49
+
- Pull updated branch after successful completion of workflow `Update docs translation` in GitHub Action
0 commit comments