Old 23rd July 2010, 10:57   #1
Eugen Dedu
Junior Member
Join Date: Jul 2010
Posts: 2
nsis messages and gettext

Hi everybody,

Thanks to nsis we have an ekiga port to windows (http://wiki.ekiga.org/index.php/Buil...ga_for_Windows), but currently we have two kinds of translations:
- our own messages in nsis installer, which are translated in a few languages only
- and ekiga itself strings, which, as a gnome application, has many translations.

It would be wonderful if gnome translation teams translate our nsis strings too. Otherwise said, I would like to:
- either instruct nsis to use gettext translated strings (.mo) in po directory
- or (worse) a bridge application between nsis translation system and gettext.

Any idea on how can I achieve this?

Best regards,
Eugen Dedu
Eugen Dedu is offline   Reply With Quote
Old 24th July 2010, 15:00   #2
Senior Member
jiake's Avatar
Join Date: Oct 2007
Location: Xi'an, China
Posts: 206
Is it a linux application? maybe it is impossible.
jiake is offline   Reply With Quote
Old 24th July 2010, 16:54   #3
Senior Member
Join Date: Aug 2007
Location: Paris, France
Posts: 304
You may need to create a small conversion tool that takes a list of .po files as input and converts it to a .nsh file with a series of LangString instructions for each translated string.
You can then launch this tool through the !system or !execute preprocessor instruction, and then use !include on the output .nsh

Note: if you create such tool, that would be nice to release it in public domain, so other could use it in their installation system.
Wizou is offline   Reply With Quote
Old 27th July 2010, 10:40   #4
Eugen Dedu
Junior Member
Join Date: Jul 2010
Posts: 2
Thank you for your help.

I will try to do this utility, and keep you informed.
Eugen Dedu is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

gettext, translation

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