Page 1 of 2
polish INSTALLER EXE for VLC
Posted: 23 Jun 2007 23:49
by MT
Add this to the file [vlc.win32.nsi.in] for the polish setup installer in the 0.8.6-bugfix source:
; Language files
!insertmacro MUI_LANGUAGE "Polish"
So the setup EXE will install VLC in Polski !!!
Posted: 24 Jun 2007 00:47
by Jean-Baptiste Kempf
Rapidshare is not the best thing... Is it a newer version that the trunk version? Have you asked xtophe?
For the installer, it should be easy
more languages for VLC setup
Posted: 24 Jun 2007 01:19
by MT
Rapidshare is not the best thing...
OK sorry for that but i didn't know were to send it instead....
Yes, is it a newer version that the one in the current trunk !
I already sent it to xtophe. In the future I will send my PO files to him
And for the installer:
I also tried this language settings for the installer and they worked!
; Language files
!insertmacro MUI_LANGUAGE "Hebrew"
!insertmacro MUI_LANGUAGE "Turkish"
!insertmacro MUI_LANGUAGE "Galician"
!insertmacro MUI_LANGUAGE "Czech"
!insertmacro MUI_LANGUAGE "Slovak"
!insertmacro MUI_LANGUAGE "Slovenian"
!insertmacro MUI_LANGUAGE "Hungarian"
!insertmacro MUI_LANGUAGE "Romanian"
!insertmacro MUI_LANGUAGE "Malay"
!insertmacro MUI_LANGUAGE "Thai"
but the installer doesn't display all available languages
Must switch the country settings in the system first to display other languages. Why??
MT
Posted: 24 Jun 2007 12:34
by Jean-Baptiste Kempf
thanks!!!
Posted: 24 Jun 2007 15:06
by MT
BIG THANKS
and what about the other working languages ??
put this in: Hebrew, Turkish, Galician, Czech, Slovak, Slovenian, Hungarian, Romanian
and maybe: Malay, Thai
and: Norwegian, Suomi and not (yet) included in VLC so you can put them out fist
Posted: 24 Jun 2007 15:08
by Jean-Baptiste Kempf
Well, I don't know if they translated the installer for most of them.
polish language in VLC
Posted: 24 Jun 2007 15:32
by MT
the next step:
for branches/0.8.6-bugfix/configure.ac:
include this here at line 310 :
ALL_LINGUAS="pl"
for branches/0.8.6-bugfix/src/libvlc.h:
include this here at line 31 :
static char *ppsz_language[] =
{ "auto", "pl" };
and this here on line 36:
static char *ppsz_language_text[] =
{ N_("Auto"), N_("Polish") };
and finaly:
branches/0.8.6-bugfix/src/misc/darwin_specific.m:
this here on line 66 :
"Polish", "pl",
thanks
more languages
Posted: 24 Jun 2007 15:38
by MT
Well, I don't know if they translated the installer for most of them.
sure but Czech, Slovak, Slovenian, Hungarian, Romanian and Turkish works definitely!
I compared it with other nsis installers and they should have the same text!
so why dont put them inside?
Posted: 24 Jun 2007 15:47
by MT
Can you also update the polish PO file in branches/0.8.6-bugfix/po ???
Posted: 24 Jun 2007 16:51
by MetalheadGautham
Can you also update the polish PO file in branches/0.8.6-bugfix/po ???
you mean 0.8.6c?
or the original 0.86??
Posted: 24 Jun 2007 17:24
by MT
isn't the 0.8.6-bugfix the same as the 0.8.6c ???
i mean the current one on:
http://trac.videolan.org/vlc/browser/branches
i have written a better polish PO file and want to include it to the current branches...
thanks
Re: thanks!!!
Posted: 30 Jun 2007 10:11
by secarica
BIG THANKS
and what about the other working languages ?? put this in: Hebrew, Turkish, Galician, Czech, Slovak, Slovenian, Hungarian, Romanian [...]
Ok, I am working at the Romanian translation (the most recent update was yesterday). But I am not sure what should I check about the installer.
What should I check ? (where/what files ?)
Cristi
Re: polish INSTALLER EXE for VLC
Posted: 30 Jun 2007 11:36
by Xyzzy
And what's up with ZIP file with Polish?
X.
Re: polish INSTALLER EXE for VLC
Posted: 30 Jun 2007 12:07
by secarica
Hm. I noticed now that the official downloadable VLC 0.8.6c installer package (Win32) is
only in English, whereas previous a and b installer versions were multilanguage enabled (Arabic, Chinese, Danish, etc.).
Cristi
Re: polish INSTALLER EXE for VLC
Posted: 30 Jun 2007 16:04
by dionoea
Hm. I noticed now that the official downloadable VLC 0.8.6c installer package (Win32) is only in English, whereas previous a and b installer versions were multilanguage enabled (Arabic, Chinese, Danish, etc.).
Hum, that's weird ... must be an error on our side.
Re: polish INSTALLER EXE for VLC
Posted: 02 Jul 2007 02:56
by MT
And what's up with ZIP file with Polish?
X.
I deleted this file because xtophe already included it into the 0.8.6. you can test it on a current nightly or download it here:
http://trac.videolan.org/vlc/browser/br ... x/po/pl.po
INSTALLER BUG in 0.8.6c+0.9.0
Posted: 02 Jul 2007 03:56
by MT
Hm. I noticed now that the official downloadable VLC 0.8.6c installer package (Win32) is only in English, whereas previous a and b installer versions were multilanguage enabled (Arabic, Chinese, Danish, etc.).
Hum, that's weird ... must be an error on our side.
Yes i also tested the 0.8.6a and b setups. And there it really this strange bug of this multilanguage setup EXE !!!
In 0.8.6a setup-EXE you can select ALL possible languages that are in the (vlc.win32.nsi ; line 80) installer file !!!
But in the 0.8.6c AND the new 0.9.0 you can select a few or only English (depending on the country-settings in you system!)
All nightly brunch+trunk setups have this bug!WHY?? has something changed in the installer from 0.8.6a+b to 0.8.6c+0.9.0 ??
Can this bug be removed in the next nighty build? Or is it to late to do that? Cuz the 0.8.6a+b worked with all languages.....
Re: thanks!!!
Posted: 02 Jul 2007 04:12
by MT
Ok, I am working at the Romanian translation (the most recent update was yesterday). But I am not sure what should I check about the installer.
What should I check ? (where/what files ?)
Cristi
You can't test the setup in romanian yet because this here is missing in the file (vlc.win32.nsi.in):
!insertmacro MUI_LANGUAGE "Romanian"
Like this here for polish you need it also for RO:
http://trac.videolan.org/vlc/changeset/20671
And than you have to compile it to an EXE.
Maybe there will be a branch nightly without this nasty select-language-bug and with RO setup soon...
Re: INSTALLER BUG in 0.8.6c+0.9.0
Posted: 02 Jul 2007 08:47
by secarica
But in the 0.8.6c AND the new 0.9.0 you can select a few or only English (depending on the country-settings in you system!)
If the installer language is somehow locale setting dependent, that's not so a big problem. Why would this be a poblem ?
But even if this might be the case, the question is what is meant by the installer "locale setting". The VLC itself, similar to most GTK+ based applications on Win32, fetch the regonal language setting (i.e. the setting that tells the 12/24 clock format, the letter/A4 printer page format, etc.) instead of the user interface language setting, which is not so clever IMO. For example maybe I want to keep the user interface language in English, but want to have the clock, printer page etc. in Romanian locale setting format, then all GTK+ based applications (Pidgin, Sylpheed, GPA, VLC if set to "Auto", etc.) will switch to Romanain language interface only because of that, thus ignoring my user interface language preference (the GetUserDefaultUILanguage() API) which is set in the control shown below:
Cristi
Re: polish INSTALLER EXE for VLC
Posted: 02 Jul 2007 16:15
by MT
Ok, you have changed the wrong settings!
Try to change the language for the non-Unicode on the THIRD TAB (Advanced - your pic above)! I found something about it at:
http://blogs.msdn.com/michkap/articles/279998.aspx
...You would not believe how many people mess this up and try to change the language at the top of the first tab under "Standards and Formats"!...
I mean its not the 12/24 clock format, date or the printer page format, but the Language for Non-Unicode Programs !!
So switch it to French, German, Italian or Spanish and run the 0.8.6d or 0.8.6c setup EXE. You should have some more languages to select! But not all that are possible
And on all versions to 0.8.6b you could select all languages WITHOUT switching the Language for Non-Unicode Programs !
Is it a bug?? The new 0.9.0 have also this problem...
Re: polish INSTALLER EXE for VLC
Posted: 02 Jul 2007 16:49
by secarica
Ok, you have changed the wrong settings! Try to change the language for the non-Unicode on the THIRD TAB (Advanced - your pic above)!
I was speaking about a different thing. For my system ALL regional settings, including the Language for non-Unicode programs are set to Romanian, but one user uses Romanian interface language and another user English interface language. Still with Romanian locale settngs. All these are different things with serve different purpose.
The language of an application interface should follow the language interface setting for that user.
Cristi
INSTALLER EXE for VLC
Posted: 02 Jul 2007 17:05
by MT
OK, I compiled a VLC version with 29 (!) possible and working languages for the setup EXE !!
But I have also this bug here: You can't select all languages at one time! You have to change the language for Non-Unicode Programs if you want to display the other missing langs (i.e. change it to polish in you system for selecting east european langs in VLC setup)
The one who are interesting in it, can get it on:
http://rapidshare.com/files/40599770/vl ... 2.exe.html
OK OK, i know rapidshare is shitty but i want only test this version and if someone is against it, than i can delete it.
Sorry at time i don't really have webspace, Im waiting for my ISP to make it possible soon.
Re: polish INSTALLER EXE for VLC
Posted: 02 Jul 2007 17:18
by MT
The language of an application interface should follow the language interface setting for that user.
Yep, this worked in 0.8.6a + 0.8.6b AND IS BROKEN in 0.8.6d + 0.9.0
I think there is a little setup-EXE-bug in the current VLC versions.... Or what do you think?
Anyway, is the VLC setup in romanian correct?
MT
Re: polish INSTALLER EXE for VLC
Posted: 02 Jul 2007 18:01
by secarica
Anyway, is the VLC setup in romanian correct?
That depends.
Yes, your installer defaults to Romanian on my Romanian enabled system.
No, because the installer's Romanian language lacks the Romanian diacritical marks. This may be the installer's fault (NSIS?), but that doesn't mater much for me: it is wrong.
Cristi
Re: polish INSTALLER EXE for VLC
Posted: 02 Jul 2007 18:26
by secarica
Anyway, is the VLC setup in romanian correct?
Your installer also shows another strange thing: with the Language for non-Unicode programs set to "English (United States)", the installer language selector now defaults to Dansk
I think I will better spend my time with the official release ...
Cristi