Old 14th January 2005, 11:05   #1
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
Breton translation file for NSIS

Solenn
Attached Files
File Type: zip breton-nsis.zip (3.5 KB, 871 views)
solenn is offline   Reply With Quote
Old 14th January 2005, 13:22   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 14th January 2005, 15:33   #3
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
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
solenn is offline   Reply With Quote
Old 14th January 2005, 15:44   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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:
Quote:
For a user-defined sublanguage, usSubLanguage is a value in the range 0x20 to 0x3F. All other values are reserved for system use.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 14th January 2005, 16:00   #5
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
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
solenn is offline   Reply With Quote
Old 14th January 2005, 16:21   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 14th January 2005, 16:29   #7
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
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
solenn is offline   Reply With Quote
Old 14th January 2005, 16:41   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Added to latest CVS version.

Please sign up to nsis-translate to be notified of language file changes.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 11th May 2005, 15:42   #9
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
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
solenn is offline   Reply With Quote
Old 11th May 2005, 15:51   #10
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I couldn't find the updated files on the website, so I've just commented the line.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 11th May 2005, 15:59   #11
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
Thanks Kichik,
It's now uploaded on the site
Solenn
solenn is offline   Reply With Quote
Old 14th December 2005, 15:21   #12
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
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
solenn is offline   Reply With Quote
Old 15th December 2005, 17:11   #13
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Thanks, it'll be included with 2.12.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 21st January 2006, 18:43   #14
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
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!
solenn is offline   Reply With Quote
Old 23rd January 2006, 08:50   #15
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
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
solenn is offline   Reply With Quote
Old 27th January 2006, 15:25   #16
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 2nd November 2006, 12:52   #17
solenn
Junior Member
 
Join Date: Jan 2005
Posts: 10
Hi !

Breton files have been updated (with minor fixes).

Find updated files at:
http://www.drouizig.org/Saozneg/Software/misc-NSIS.html

Thanks!
Solenn
solenn is offline   Reply With Quote
Old 2nd November 2006, 12:59   #18
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Thanks, uploaded.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion > NSIS Translations

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump