Below is how to add the French language to the Launcher:
- Copy the file src\locales\launcher\en.json to src\locales\launcher\fr.json.
- Copy the file public\launcher\css\buttons-en.css to public\launcher\css\buttons-fr.css.
- Open .env and add the line API_PORTAL_CLIENT_REGIONS_FRA=Français and save.
- Restart TeraAPI.
Make sure you have a data center
DataCenter_Final_FRA.dat in your Tera Client
S1Data folder.
To translate the launcher, you need to edit file
src\locales\launcher\fr.json.
If you need to translate buttons, edit the file
public\launcher\css\buttons-fr.css with your own images.
Blank images of the buttons available here:
https://forum.ragezone.com/f797/tera...ml#post9128933
Please note that the TERA Shop and Admin Panel will remain in English. To translate the TERA Shop, you need to copy file
src\locales\shop\en.json to
src\locales\shop\fr.json and add
"fr" language entry to the file
config\admin.js. Also you need to extract the necessary XMLs from the French data center and insert it to the API database using the method described here:
https://github.com/justkeepquiet/ter...ata-datasheets.
Comparison of data centers with languages:
CHN: cn
EUR: en
FRA: fr
GER: de
INT: en
JPN: jp
KOR: kr
RUS: ru
SE: se
THA: th
TW: tw
USA: en