I follow the steps below to translate language files.
1. Use editplus to open xxx.en.php under the languages folder, use the regular expression to find the replacement, and find "]\s*= replaced with "] = \t
2. Copy and paste the contents of the file into the excel form and save it.
3, use Google form import, install translate my sheet plugin, start translation
4. After the translation is complete, save the content as a new language file, such as xxx.zh.php
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Don't forget that the new language file must be saved in the UTF-8 character set, and that the 3-byte Byte Order Mark (BOM) must be removed before the new file is usable.
PhpGedView does not have a tool that will remove the BOM, but the Translator Tools section of the Admin menu has a tool that will check for the presence of BOMs in the language directory.
To remove the BOM, you have to open the language file in an ordinary text editor in ASCII mode. You will see three characters at the beginning that will need to be deleted before the file is saved, again in ASCII mode.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I follow the steps below to translate language files.
1. Use editplus to open xxx.en.php under the languages folder, use the regular expression to find the replacement, and find "]\s*= replaced with "] = \t
2. Copy and paste the contents of the file into the excel form and save it.
3, use Google form import, install translate my sheet plugin, start translation
4. After the translation is complete, save the content as a new language file, such as xxx.zh.php
Don't forget that the new language file must be saved in the UTF-8 character set, and that the 3-byte Byte Order Mark (BOM) must be removed before the new file is usable.
PhpGedView does not have a tool that will remove the BOM, but the Translator Tools section of the Admin menu has a tool that will check for the presence of BOMs in the language directory.
To remove the BOM, you have to open the language file in an ordinary text editor in ASCII mode. You will see three characters at the beginning that will need to be deleted before the file is saved, again in ASCII mode.
Yes, I found that this method is very fast. And the quality of the translation is also very high