-
Notifications
You must be signed in to change notification settings - Fork 88
For translators
There are currently two methods:
- Update your Visual Studio 2022 to latest version.
- Open .sln file
- Double click OngekiFumenEditor/Properties/Resources.resx
- Seek and translate grids which highlighted
- If you want to translate to new language, just create new resource file(.resx) in folder Properties and named like
Resources.<Lang_Code>.resx
We use third-party tool Zeta Resource Editor to manage the. resx files required for the project. For the convenience of management, we have provided corresponding project files in repo. Therefore, you manage and create through the following methods:
-
Download Zeta Resource Editor and open it.
-
Clone entire OngekiFumenEditor repo (and its dependencies).
-
Click
Open project file
and selectOngekiFumenEditor.zreproj
-
If you want to find out which texts in a certain language have not been translated, you can click on the column header corresponding to the language
-
If you want to create a new language, you can follow the steps in the above figure. After the generation is completed, you can translate it according to the above steps
- download these .resx file (or clone entire repo), and then translate them.
Just translate the content of the <value>
sub nodes under the <data>
node, for example:
<data name="DesignMode" xml:space="preserve">
<value>Design Mode</value>
</data>
translated(Chinese):
<data name="DesignMode" xml:space="preserve">
<value>设计模式</value>
</data>
If you have completed the translation or modification, save the files. If you are translating into another language, you also need to change the .resx file extension, which is named in the format Resources.<Lang_Code>.resx
. If you translate it into Japanese, you only need to change the file name to Resources.ja.resx
, Lang_Code can be found through this website
All the above steps have been completed, and files can be copied to its original file path. Or send these files to me via email