Old 17th February 2020, 21:33   #1
conky77
Junior Member
 
Join Date: Feb 2020
Posts: 5
Venetian

Hi,
I created the Venetian (ISO 639-3 code: vec) translation for NSIS, here's the files.
https://en.wikipedia.org/wiki/Venetian_language
Best regards,
Attached Files
File Type: zip Venetian.zip (3.6 KB, 120 views)
conky77 is offline   Reply With Quote
Old 11th July 2020, 07:14   #2
conky77
Junior Member
 
Join Date: Feb 2020
Posts: 5
Venetian localization

I created the venetian translation and I inserted the following ticket https://sourceforge.net/p/nsis/feature-requests/555/
How is it possible to apply the new localization?
thanks
conky77 is offline   Reply With Quote
Old 11th July 2020, 11:39   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
I believe this is one of the languages without a LANGID allocated by Microsoft and we are therefore a little unsure how we should handle it.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 11th July 2020, 17:57   #4
conky77
Junior Member
 
Join Date: Feb 2020
Posts: 5
The Venetian doesn't have an LCID code yet, but it has an ISO 639-3 code: VEC.
NSIS supports many languages without an LCID, for example, Sardinian, Corsican, Kurdish.
In this post they suggest using "9999" as a language ID. Let me know if it is possible and where to post the file. Thanks
conky77 is offline   Reply With Quote
Old 11th July 2020, 18:30   #5
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
I know there are others without a real LCID but that does not make it the right way to do things.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 10th October 2020, 11:28   #6
conky77
Junior Member
 
Join Date: Feb 2020
Posts: 5
LCIDs were deprecated a decade ago

I wrote to Microsoft in order to get an LCID code for Venetian language and they answer:

"our product team confirms that we no longer assign LCIDs unless there are exceptional circumstances. LCIDs were deprecated a decade ago and we support many locales that do not have an LCID. We want to know why you need an LCID? What technology blocks you from translating without LCID?
FWIW, you can add the Venetian language (vec) the User Language List in Windows.
If you make a custom locale (or just use the constructed locale), then you may be able to get away with the LOCALE_CUSTOM_UNSPECIFIED LCID (or maybe the LOCALE_CUSTOM_DEFAULT LCID if it was the user default locale, and as long as that’s the only custom locale on the system, since they all share the same LCID)."

Then, how could I translate NSIS in Venetian?
conky77 is offline   Reply With Quote
Old 11th October 2020, 00:09   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
The main problem with a lack of a real LCID is that we can't detect it and set the correct language automatically.

The other problem is that we don't know the compatibility issues a fake LCID will cause.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 13th October 2020, 06:06   #8
conky77
Junior Member
 
Join Date: Feb 2020
Posts: 5
Use language tags" like the BCP-47 style en-US or vec-IT

I received another answer where they suggest: "Use language tags" like the BCP-47 style en-US or vec-IT.
https://docs.microsoft.com/en-us/ans...anguage-i.html

Would you like to join the conversation in order to find a solution?
conky77 is offline   Reply With Quote
Old 22nd October 2020, 00:19   #9
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
Moving to something other than LCIDs (LANGID technically) would require a change to the translation format and code changes in the installer.

LOCALE_CUSTOM_UNSPECIFIED seems OK initially but GetLocaleInfo(LOCALE_IDEFAULTANSICODEPAGE) returns an error, who knows how much of a problem that is.

LOCALE_CUSTOM_DEFAULT and 0x2000 seem to work better but I assume can return strings/data in the wrong language sometimes.

IntOp $PostCount $PostCount + 1
Anders 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