Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I'd recommend using that as a baseline while comparing it to the main game. The main file that you'll be editing is the locale file (the english one is locale.en and can be found in mods/locale/locale.en in the crea installation location). The purpose of the locale file is to replace text in the code with the correct text when viewed in game. If you have any questions just ask and I'll answer more thoroughly when I have more time.
But how to i make it a mod, how i gonna upload to crea workshop? and how to i open this, can i open with notepad++? can i change the file name like eng.locale>pt.locale ?
I'm a little confused here what word i can translate to appear in game?
locale("CustomizationShoes", "Shoes") ?
You can upload it the same as any other mod, I think you figured this out already guessing by your question on the modding guide.
You can open it with any text reading application (though I would advise a programming text editor, notepad++ will work great for these purposes).
Yes you can change the name from en.locale to pt.locale. In fact, you should do this, otherwise the game will not recognize it as a new language.
For the translation and how it will appear in game, the format is
Hope this helps! It sounds like Jasson (the main dev) is back so I'll probably direct him to you next time I see him around. I haven't really used the language translation system much, so I can't help you very well with this, and he could help you much better since he designed the system.
name = "Portuguese"
font("text", "mods/portuguese_language/ui/fonts/Bitter/Bitter-Regular.ttf")
font("nameplate", "mods/portuguese_language/ui/fonts/Ubuntu/Ubuntu-B.ttf")
font("number", "mods/portuguese_language/ui/fonts/Ubuntu/Ubuntu-B.ttf")
And the right desc like this
{
"title": "portuguese language,
"author": "Condizion",
"description": "Tradução PT-BR, qualquer erro ortográfico reporte no chat",
"serverOnly": false
"version": "1.0",
"priority": 1,
}
I am doing something wrong?
03/27/16 20:15:48,811.021 [1512] main.cpp:143 INFO main ?Finished initializing python
03/27/16 20:15:48,970.211 [1512] main.cpp:168 INFO main ?Initialized Steam API
03/27/16 20:15:49,319.445 [1512] GameManager.cpp:143 INFO main ?Initializing the GameManager and all Subsystems: 0.41.0
03/27/16 20:15:49,319.445 [1512] Random.cpp:18 INFO main ?Random: setting seed to 1459109749
03/27/16 20:15:49,362.974 [1512] RenderSystem.cpp:47 INFO main ?Initializing RenderSystem
03/27/16 20:15:49,363.476 [1512] RenderSystem.cpp:49 INFO main ?Creating Window: <PixelVector(x=1280, y=720)> in mode 0
03/27/16 20:15:49,452.033 [1512] RenderSystem.cpp:53 INFO main ?Maximum Texture Size: 8192
03/27/16 20:15:50,237.970 [1512] GameManager.cpp:214 INFO main ?Commandline:
03/27/16 20:15:50,238.470 [1512] Scene.cpp:18 INFO main ?Creating Scene: Logo
03/27/16 20:15:50,512.153 [1512] Package.cpp:57 WARN main ?Failed to load package information: <type 'exceptions.ValueError'>: Invalid control character at: line 2 column 35 (char 36): File "C:\Program Files (x86)\Steam\steamapps\common\Crea\modules\json\__init__.py", line 278, in load
**kw)
File "C:\Program Files (x86)\Steam\steamapps\common\Crea\modules\json\__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Crea\modules\json\decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files (x86)\Steam\steamapps\common\Crea\modules\json\decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
03/27/16 20:15:50,935.864 [10224] main.cpp:53 FATAL main ?Python Stacktrace: File "C:\Program Files (x86)\Steam\steamapps\common\Crea\modules\traceback.py", line 278, in format_stack
return format_list(extract_stack(f, limit))