Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Keeroh |
I was implementing localization with .csv file in my game and everything was working fine inside the editor. But after I exported the game and opened the .exe file the localization won`t work anymore, only showing BTN_NEWGAME instead of NEW GAME for example.
A weird thing that occured too is that the .exe file works without any problems inside the game folder, but when I move to another folder the localization stops working. I also tried looking for errors on the debug log, but I found no errors.
Does anyone have any idea of what is happening? Am I missing something?
Here is the .csv file:
id,en,pt_BR
BTN_NEWGAME,NEW GAME,NOVO JOGO
BTN_LOADGAME,LOAD,CONTINUAR
BTN_EXTRA,EXTRA,EXTRA
BTN_SETTINGS,SETTINGS,CONFIGURACOES
BTN_EXIT,EXIT,SAIR
BTN_STORY,STORY,HISTORIA
BTN_1PLAYER,1 PLAYER,1 JOGADOR
BTN_2PLAYERS,2 PLAYERS,2 JOGADORES
BTN_RETURN,RETURN,VOLTAR
BTN_TIMEATTACK,TIME ATTACK,L. DE TEMPO
BTN_HIGHSCORE,HIGHSCORE,RANKING
BTN_CREDITS,CREDITS,CREDITOS
LAB_RESOLUTION,RESOLUTION,RESOLUÇÃO
LAB_FULLSCREEN,FULLSCREEN,TELA CHEIA
LAB_COLOR,COLOR,COR
BTN_CONFIRM,CONFIRM,CONGIRMA
BTN_OK,OK,OK
LAB_BGM,BGM,BGM
LAB_SFX,SFX,SFX
LAB_KEYBOARDP1P,KEYBOARDP1,TECLADO P1
LAB_UP,UP,CIMA
As far as I know, the CSV-File is converted by Godot to multiple translation.(countrycode).translation files. You should find these in the same folder than the csv file.
My impression is that these translation files didn’t weren’t packaged into the .pck file. Maybe you excluded them by some exclusion filter in the windows export settings? (ressources tab)
wombatstampede | 2020-01-24 12:02