[nvda] r256: Improvements to localisation support

Hi all,

r256 improves the support for localisation in NVDA. The language setting in nvda.ini is now used to determine the messages (.mo) file to be used. Here is the relevant part of the commit message:

NVDA now uses the messages (.mo) file for the language defined in nvda.ini, if that .mo file exists. In order for this to work, the .mo file must be located in the directory locale\lang\LC_MESSAGES\nvda.mo, where lang is the language specified in nvda.ini; e.g. locale\ptb\LC_MESSAGES\nvda.mo.

Note that there currently aren't any language files at all in svn, so you need to have your own. Eventually, we will place .po files into svn, but note that .mo files will always be generated from the source by a script, similar to the situation with comInterfaces.

Cleverson, please test this out and let me know how it goes. It works for me here. You need to copy the file into the directory as noted in the example above and change your language setting to ptb in nvda.ini.

Jamie

--
James Teh
Email: jamie@xxxxxxxxxxx
WWW: http://www.jantrid.net/
MSN Messenger: jamie@xxxxxxxxxxx
Jabber: jteh@xxxxxxxxxx
Yahoo: jcs_teh
To post messages to the list send email to
nvda@xxxxxxxxxxxxx
To unsubscribe from the list send a blank message to:
nvda-request@xxxxxxxxxxxxx
with 'unsubscribe' in the Subject field.
Thank you for your continued support of Nonvisual Desktop Access, an open 
source free screen reader for Microsoft Windows:
http://www.kulgan.net/nvda/

Other related posts: