Breton translation file for NSIS
Solenn
Archive: Breton translation file for NSIS
Breton translation file for NSIS
Solenn
Thanks for the translation. But the supplied language id is invalid (10FF). I couldn't find the id anywhere. Without a valid language id, Breton will not be correctly selected. What is the correct language id?
Kichik,
There is no LCID for Breton, this is an issue we have since a long time and are still fighting with MS to be recognized...
Is this a so big issue for NSIS ? As far as I understand NSIS won't be able to select automatically the Breton choice in the list of languages, at launch tim ... but as far as there is no localization of Windows in this language, I guess this does not matter :)
If the user just selects the language in the list, is it going to work ?
Thanks,
Solenn
If there's no language id, it's true that it won't be selected automatically anyway. But, it might overlap with another language. I'll take a look and see if zero is a good option to avoid that. If not, is there a totally invalid language id you've been using for Breton? If Breton is based on French, something like MAKELANGID(LANG_FRENCH, 0x20) might be a good idea. MAKELANGID's documentation even states:
For a user-defined sublanguage, usSubLanguage is a value in the range 0x20 to 0x3F. All other values are reserved for system use.
Kichik,
It is true to say that Breton is a language of France, but linguistically speaking, it has no link with it (French is a Latin language, Breton a Celtic one).
I am not sure that what you suggests is the best solution: See what they did with Basque (language of Spain/France with no link with Spanish/French) or Welsh (language of UK with no link with English): those two languages have their own LCID which is not a SUB ID of LANG_SPANISH or LANG_ENGLISH ...
In my humble opinion, the best (less worst...) solution would have been to create a LANG_CELTIC main lang id, with SUB_LANG_WELSH, SUB_LANG_BRETON, SUB_LANG_IRISH, SUB_LANG_SCOTTISH & SUB_LANG_MANX as subids... But there is an issue : there is actually no LANG_CELTIC main language spoken !!!
If you can force the LCID to 0 for the moment it will be just fine toi us :) and it is true to say that $10FF was definitely not a good default choice,
Have a good time,
Solenn
OK, then it seems MAKELANGID(0x0200, 0x20) == 33280 is the best solution. According to MSDN, it's a user-defined language and that seems like what we need. This way, it will never be automatically selected unless it's the only or first language used. Is that OK with you?
Great !
I did not even know it was possible to use the MAKELANGID(0x0200, 0x20) api to specify a user-defined language id ! Seems that we found a case where it will be useful !
Solenn
BTW, here is the UNICODE language matrix. I don't know why MS did not define LCIDs for all the (missing) languages ...
http://www.unicode.org/onlinedat/languages.html
Added to latest CVS version.
Please sign up to nsis-translate to be notified of language file changes.
Hi !
There was an issue with the Breton pack.
(The string for translation credits was not commented).
Find updated files at:
http://www.drouizig.org/Saozneg/Software/misc-NSIS.html
Thanks,
Solenn
I couldn't find the updated files on the website, so I've just commented the line.
Thanks Kichik,
It's now uploaded on the site :)
Solenn
Hi !
We have fixed a bunch of typos with the Breton version files,
Please could you get the new files for coming NSIS 2.12 ?
Find updated files at:
http://www.drouizig.org/Saozneg/Software/misc-NSIS.html
Thanks,
Solenn
Thanks, it'll be included with 2.12.
Hi Kichik,
At last Microsoft Vista is bringing an official LCID for Breton... should be nice to update the Breton NSIS files with it now ?
http://msdn.microsoft.com/library/de...l/nls_19ir.asp
http://msdn.microsoft.com/library/de...l/nls_61df.asp
Thanks,
Solenn!
Hi!
So we did update the Breton version files again, with the LCID initialized to 1150 (0x47e) = MAKELCID(MAKELANGID(LANG_BRETON, SUBLANG_BRETON_FRANCE),SORT_DEFAULT)
The language files can be downloaded at:
http://www.drouizig.org/Saozneg/Software/misc-NSIS.html
I guess other files in the NSIS engine should have to be updated too, including the windows compiler you use & the latest SDK (MSVC 2005).
Anyway let us know & keep up the good work!
Solenn
Thanks, uploaded.
BTW, NSIS doesn't use LCID in the language files, only LANGID. SORT_DEFAULT is 0, so it came out the same in this case.
Hi !
Breton files have been updated (with minor fixes).
Find updated files at:
http://www.drouizig.org/Saozneg/Software/misc-NSIS.html
Thanks!
Solenn
Thanks, uploaded.