[nvda-translations] Re: wxpython localization

  • From: Mesar Hameed <mesar.hameed@xxxxxxxxx>
  • To: "DINAKAR T.D." <td.dinkar@xxxxxxxxx>
  • Date: Mon, 19 Sep 2011 14:22:40 +0100

dear Team, please read,

Dear Dinakar,

On Sat 17/09/11,11:39, DINAKAR T.D. wrote:
> Dear Mesar,
> 
> The nvda.mo file is now working fine. It's great!
> 
> Three aspects I would like to highlight:
> 
> 1. In Hindi (hi) interface, the OK, Cancel buttons are spoken in
> Hindi. Then why it could not be done for Tamil and other languages?

This is because wxpython, the toolkit that nvda uses for making buttons and 
other graphical interface elements has a translation for Hindi, but has no 
translation for Tamil.
We have the same problem for Arabic.

Do you and others feel that we should find and submit updates for 
wxpython translations?

I dont know, does yes, no, ok, cancel show in english for other 
languages (Finnish, Polish, Turkish)?

> 2. There is no English string in nvda.po file for "not checked".
> Therefore, while speaking the state of check boxes, the state of
> "checked" is spoken properly. But, the state of "not checked" is not
> spoken correctly.  The Tamil string for "not checked" is
> "தேர்வாகவில்லை". But it is spoken as "இல்லை தேர்வாகியுள்ளது".

This is probably because we have a string
msgid "not %s"
and the word "checked" is substituted instead of %s.
for english it is ok, but it seems for Tamil it is not.

Do we have the same problem for Arabic, Finnish, Polish, Turkish?

> 3. While typin using the Tamil interface, the English capital letters
> are not spoken.

I don't have any idea why this should happen, I don't have this problem 
here when i switch to Tamil interface.
Maybe it is your synth?

Are you using espeak or some other synth?
Maybe ask on the dev list to see if anyone else has the same problem.

> What can be done for the above.
> 
> Thanks,
> 
> DINAKAR
> 

Best wishes,

Mesar
> On 16/09/2011, Mesar Hameed <mesar.hameed@xxxxxxxxx> wrote:
> > Hi Dinakar,
> >
> > On Fri 16/09/11,07:15, DINAKAR T.D. wrote:
> >>         Dear Mesar,
> >>
> >> I could not locate the log file. What is the file name?
> >
> > nvda.log
> > probably in c:\program files\nvda\nvda.log
> >
> >> I tried to restart NVDA after removing the nvda.mo file. It works.
> >> But, the log viewer does show only the recent entry. No error
> >> message is found. I am attaching the text file containing the entry.
> >
> > I ran it here with Tamil, and i see the errors.
> > In some places you forgot that things in braces should not be translated:
> >
> > It should be like this.
> >
> > #: versionInfo.py:42
> > msgid "Copyright (C) {years} NVDA Contributors"
> > msgstr "காப்புரிமை (C) {years} என்விடிஏ பங்களிப்பாளர்கள்"
> >
> > and:
> >
> > #: speech.py:958
> > msgid "on {backgroundColor}"
> > msgstr "இயக்கம் {பின்னணி நிறம்}"
> >
> > it should be:
> >
> > #: speech.py:958
> > msgid "on {backgroundColor}"
> > msgstr "இயக்கம் {backgroundColor்}"
> >
> > I have corrected these two, can you please check again, because nvda
> > will not crash until it needs the string, so it is important that we
> > find them all and correct them, otherwise the program will just crash
> > and we dont know why.
> >
> > I have committed these two changes, and attached is the new mo file.
> > please try again, it seems to work ok here, but i cant read Tamil :)
> >
> >
> >
> >
> >> The Tamil text in langstrings_ta file is not appearing normally and
> >> is gibberish. May be that my system is not supporting TSCII. I also
> >> had some time to browse on this subject and find that TSCII is the
> >> predecessor of unicode.These days TSCII is not being used and all
> >> efforts are being taken to standardise all Tamil text to unicode.
> >> Will this information be useful?
> >
> >
> > The problem is that the nsis installer that NVDA uses is not unicode,
> > and therefore we need to have the langstrings.txt in the native
> > codepage, tscii.
> > It doesn't look like nsis (the installer supports Tamil i am afraid.
> > You are welcome to ask Peter to see if he has any suggestions.
> >
> > Anyway, not next release but in the near term we will move to a new
> > installer which will be working from unicode, so if the problem is not
> > fixed by Peter, we will be able to fix it then.
> >
> >> Thanks,
> >>
> >>
> >> DINAKAR
> >>
> >>
> >> On 15/09/2011 11:03 PM, Mesar Hameed wrote:
> >> >Dear Dinakar,
> >> >On Thu 15/09/11,21:12, DINAKAR T.D. wrote:
> >> >> Dear Mesar,
> >> >>
> >> >>Thank you for sending me the fully-converted nvda.po utf8 file.
> >> >>
> >> >>Now, the Tamil characters are appearing normally in PoEdit. I
> >> >>compiled the nvda.mo file successfully.
> >> >I'm glad that it works normally now.
> >> >
> >> >>I copied the file into "LC_MESSAGES" and restarted NVDA. I find that
> >> >>the Tamil language is displayed in the interface language list
> >> >>(NVDA+CTRL+g). When I pressed enter on Tamil, the normal dialog
> >> >>asking me to press enter to save configuration and reload NVDA
> >> >>appeared in Tamil!
> >> >>
> >> >>When I pressed, NVDA shutdown, but NVDA did not restart and only the
> >> >>restart sound can be heared. Windows is raising the 'error' sound.
> >> >>There is no display on the screen.
> >> >>
> >> >>What's the problem?
> >> >Please attach the nvda.log and maybe we can see what it is. nvda.log is
> >> >in the same place where you installed nvda it will be next to nvda.exe
> >> >
> >> >>Further, I am not aware of any information regarding the Tamil code.
> >> >>We should be asking Mr. James Teh.
> >> >I had some more time to look on the internet, and this page on wikipedia
> >> >[1] suggests that you use something called TSCII, and I have converted
> >> >the langstrings_ta.txt to this, and attached it to this email, can you
> >> >please open it and see if it shows Tamil text? If so then we found the
> >> >right encoding.
> >> >
> >> >>Thanks,
> >> >>
> >> >>
> >> >>DINAKAR
> >> >[1]:http://en.wikipedia.org/wiki/Tamil_Script_Code_for_Information_Interchange
> >> >
> >> >Best wishes,
> >> >
> >> >Mesar
> >> >
> >
> >> INFO - nvda (07:00:48):
> >> Starting NVDA
> >> INFO - core.main (07:00:48):
> >> Config dir: C:\Users\Dinakaran\AppData\Roaming\nvda
> >> INFO - core.main (07:00:48):
> >> NVDA version 2011.2
> >> INFO - core.main (07:00:48):
> >> Using Windows version sys.getwindowsversion(major=6, minor=1, build=7601,
> >> platform=2, service_pack='Service Pack 1')
> >> INFO - core.main (07:00:48):
> >> Using Python version 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32
> >> bit (Intel)]
> >> INFO - core.main (07:00:48):
> >> Using comtypes version 0.6.2
> >> INFO - synthDriverHandler.setSynth (07:00:49):
> >> Loaded synthDriver sapi5
> >> INFO - core.main (07:00:49):
> >> Using wx version 2.8.11.0 (msw-unicode)
> >> INFO - braille.initialize (07:00:49):
> >> Using liblouis version 2.3.0
> >> INFO - braille.BrailleHandler.setDisplayByName (07:00:49):
> >> Loaded braille display driver noBraille
> >> INFO - core.main (07:00:51):
> >> NVDA initialized
> >
> >

Other related posts: