![]() |
problem with russian language (UMUI)
I have problem with russian language. Of course I'm using Unicode version of NSIS.
Most translations is working, but for example "welcome screen" looks like this: http://i.imgur.com/BQKHI6o.png but all others screens are ok, and font is ok! But still on the last screen I have all in English... or when everything is installed correctly and there is question about restart, then I have again question marks instead of Russian words. http://i.imgur.com/oqkZYOc.png all in english... http://i.imgur.com/knf5kDp.png I've downloaded new translations from translations subforum and replaced old files. .nsh file inside UltraModernUI looks ok http://i.imgur.com/EDHKS36.png both .nsh and .nlf files in .\Contrib\Language files\ are ok also all files are in UTF-8 w/o BOM. And everything looks ok but not first and last page. I even tried to manually !define MUI_TEXT_WELCOME_INFO_TEXT inside my installer but it doesn't work either. |
3 Attachment(s)
Try this and see if it works (I'm using an unmodified 3.0b1 install):
PHP Code:
|
Thanks for answer but I'm using Ultra ModernUI skin and afasik it's only working with version 2.X of NSIS.
|
Wow, I remember when it first came out way back then, I had just started using nsis. The last release is in 2005, which is way before unicode support came in. Quite a bit has changed since then, installoptions has been deprecated for nsdialogs, the plugin api has changed, the latest nsis releases support ansi and unicode, plus unofficial 64 bit support.
The welcome and finish dialogs (and who knows what other dialogs) use installoptions, and I think all the files in UMUI are ansi (I doubt they are utf-8 with no bom but I'm probably wrong). So probably the only way to get the dialogs to show the correct language is to rewrite the UMUI dialogs to use nsdialogs instead of installoptions. Really UMUI needs a basic update to support newer nsis versions. I might have a crack at it sometime just for fun, but I'm not promising anything. |
Thanks for help anyway JasonFriday13!
|
I noticed the sourceforge page has a download as recent as 2010, maybe give that a try: http://sourceforge.net/projects/ultr...%201.00b2-dev/
|
I already have it.
But funny thing is that when you look inside zip package and then Language files you will notice that some of language files are empty. For example Russian.nsh is. But then still even if I replace this with other translated .nsh file I still got "????". Ill try to do another check on clean virtual machine. |
Well on clean system I have same problem. Welcome page is only question marks and all other screens are translated.
It looks like this is a bug in UMUI :/ |
Hi, Marcin
RU: Я также использую NSIS UNICODE(2.46.5 ++), только все файлы *.nsi и *.nsh, сохраняю в кодировке: UTF-16 LE. Создаю мульти-язычные инсталляторы и никаких проблем нет. Возможно в этом ваша проблема.. EN: I also use NSIS UNICODE(2.46.5 ++), but all files *.nsi and *.nsh, save encoding: UTF-16 LE. Creating multilingual installers and no problems. Possibly in this your problem.. |
I'm guessing the Install Options .ini files need a UTF16-LE BOM...
|
Install Options plug-in does not support Unicode (at all!).
Use nsDialogs plug-in (which means you will need to rewrite some part of UMUI). |
Quote:
|
well thank you guys for answers... but i still can't figure it out...
I define in my .nsi file something like this. code: all I can see is "??? ???????? ?????? ????????? TEST". I was trying with UTF-8, UTF-16LE and other formats. Next page is working fine but not first... and I'm not using options.ini file, at least I don't know nothing about it. @MaGoth are you using Ultra ModernUI? |
Hi marcins,
It all depends on the situation, but problems like you I do not. Can you send me a PM in your project files *.nsh and *.nsi? |
Quote:
After some research I found this old forum: http://forums.winamp.com/showthread.php?t=275900 As there are known these problems for long time I suppose it is true. Use nsDialogs instead - nsDialog is much much much better (and faster and reliable and provides more functionality etc. etc.! :) |
Quote:
|
So, for the final time, if the .ini starts with a UTF16LE BOM then the Wide versions of the Windows ini functions will read UTF16 files correctly:
Quote:
|
| All times are GMT. The time now is 17:20. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.