The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
Multilanguage - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Feature Requests (https://www.vdrift.net/Forum/forumdisplay.php?fid=6) +--- Thread: Multilanguage (/showthread.php?tid=1377) |
RE: Multilanguage - NaN - 11-25-2012 I've updated the vdrift.pot to contain source info: #: data/skins/simple/menus/PracticeGame:513 #: data/skins/simple/menus/SingleRace:690 msgid "Brightness" msgstr "" RE: Multilanguage - GunChleoc - 11-25-2012 For some reason, I can't find where I put it in the game anymore. I'll do a reinstall and retest and I will get back to you. I think I might still have an older version installed. RE: Multilanguage - GunChleoc - 12-09-2012 I have now found out what the problem was. I'm not switching to the po files and redoing the translation. Since I never have owned a joystick and it's hard to google, I need help with a word: What does gain do? I found something that suggested it's the sensitivity of the joystick, it that correct? Gaelic doesn't have a word for this yet, so I'll need to create one that makes sense. Also, what does Held/Once do? RE: Multilanguage - NaN - 12-09-2012 (12-09-2012, 11:32 AM)GunChleoc Wrote: I have now found out what the problem was. I'm not switching to the po files and redoing the translation. You don't have to redo the translation, just use the cfg2po.py to create a po file from your translation (if you want). gain is a multiplier: value = gain * value; Held/Once control how input is processed. Held: React on input value. Signal as long as user is pressing the key. Once: React on input value change(signal edge). Signal once when user is pressing the key. RE: Multilanguage - GunChleoc - 12-10-2012 Thanks, but I needed to revise the translation anyway. Also, it should be consistent with the current .pot. However, I now need to convert the PO file back for testing (I usually need to jump through a bazillion hoops because of string length, so in-game texting is vital). I have installed a Ubuntu VM so I can run the script, but when I try to download po2cfg.py, it says "file not found". Could maybe someone do the conversion for me? I'm attaching the PO. RE: Multilanguage - NaN - 12-10-2012 You don't need Ubuntu/Linux. - get python( http://www.python.org/download/releases/2.7.3/ ), install - get po2cfg.py ( https://github.com/logzero/vdrift/downloads ), put into language dir - Start -> Run -> cmd - cd into language dir - run: python po2cfg.py -i gd.po -o gd.txt RE: Multilanguage - GunChleoc - 12-10-2012 I still need a working download for po2cfg.py though. It's broken for me on the Github site, Ubuntu or no RE: Multilanguage - joevenzon - 12-11-2012 (12-10-2012, 10:31 PM)GunChleoc Wrote: I still need a working download for po2cfg.py though. It's broken for me on the Github site, Ubuntu or no Works for me from this url: https://github.com/downloads/logzero/vdrift/po2cfg.py RE: Multilanguage - GunChleoc - 12-11-2012 Thanks! RE: Multilanguage - NaN - 12-11-2012 I had to reupp it, was broken for some reason. RE: Multilanguage - GunChleoc - 12-11-2012 The script has a problem if a translation runs over two lines. For example, Code: msgid "Change detail levels and other advanced display options." in the PO file becomes Code: #Change detail levels and other advanced display options. = in the text file. Since Virtaal and Poedit both automatically insert line breaks in long strings, this might be worth looking into. There is also a problem with ": Code: Return to the Options menu. = Till dhan chlàr-taice \"Roghainnean.\ This String should end in ". I think the \ need to be removed as well. For now, this is easy enough to deal with with a decent text editor and query/replace. ETA: I manually fixed the lang file to test it, but it crashes the game. Any idea why? I'm working with the last official release on a Windows 7 system. RE: Multilanguage - NaN - 12-11-2012 I've fixed the multi-line issue, please redownload the script. As for the quotation marks. Lets say that special characters are not supported (for now). Feel free to use single quotes or asterisk instead. (12-11-2012, 04:37 PM)GunChleoc Wrote: ETA: I manually fixed the lang file to test it, but it crashes the game. Any idea why? I'm working with the last official release on a Windows 7 system. This is what I get with your gd.txt: RE: Multilanguage - GunChleoc - 12-11-2012 I used the new script with performs perfectly, thank you! I still get the crash though. I open the game, choose the language, then close the game, when I open the game, the window appears shortly with just white content and then disappears. Which version are you running? Maybe I need a newer version. I could run it on my Ubuntu VM if needed. RE: Multilanguage - NaN - 12-12-2012 (12-11-2012, 09:39 PM)GunChleoc Wrote: I used the new script with performs perfectly, thank you! You are right, there have been some fixes since last release. I've upped a more recent version that should work. http://sourceforge.net/projects/vdrift/files/vdrift/nightly%20builds/vdrift-2012-10-16.zip/download RE: Multilanguage - GunChleoc - 12-12-2012 Thanks! I've copied that to Program Files, but it's missing iconv.dll to run. |