-
-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI: About dialog is rendered in English #7770
Comments
Yes, I can definitely reproduce this. But why it happened is a mystery to me... |
Hi, After testing various binary snapshot builds, it appears Python 2.7.14 upgrade from the build server is the likely culprit. Thanks. |
well, how we know that,
do you have an evidence?
W dniu 17.11.2017 o 15:20, Joseph Lee pisze:
…
Hi,
After testing various binary snapshot builds, it appears Python 2.7.14
upgrade from the build server is the likely culprit.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7770 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKohk_3oRahPhnzHjyS6IeM_mhsPWSehks5s3ZYcgaJpZM4QiDRJ>.
|
Hello, I also confirm this bug. I hope it'll be fixed in 2017.4 |
Hi, the last master that did work was 14539, and that was with Python 2.7.13. Starting from 14549, it started using Python 2.7.14. At the same time, next snapshots began showing this problem, with the last next snapshot with no problems being 14536. This leads me to believe that something that was committed around October 18th might be to blame, and we cannot leave out Python 2.7.14. Thanks.
From: zstanecic [mailto:notifications@github.com]
Sent: Friday, November 17, 2017 6:22 AM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: Joseph Lee <joseph.lee22590@gmail.com>; Author <author@noreply.github.com>
Subject: Re: [nvaccess/nvda] GUI: About dialog is rendered in English (#7770)
well, how we know that,
do you have an evidence?
W dniu 17.11.2017 o 15:20, Joseph Lee pisze:
Hi,
After testing various binary snapshot builds, it appears Python 2.7.14
upgrade from the build server is the likely culprit.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7770 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKohk_3oRahPhnzHjyS6IeM_mhsPWSehks5s3ZYcgaJpZM4QiDRJ>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#7770 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AHgLkLrEdgsqKZ165DjZuBCHPfSSeyzEks5s3ZZqgaJpZM4QiDRJ> .
|
@josephsl commented on 17 nov. 2017 15:20 CET:
I tend to disagree with this finding. I"m running Python 2.7.13 on my local system, and when running from source, the about dialog is also showing up in English. Note that the title of the dialog is properly translated. |
Hi, In that case, Python is not to blame. Further testing shows that the new likely culprit might be #7649, as prior to that, there was no problem with this dialog. |
Comfirmed. I did a git checkout 1fcc7fe, and the issue did occur. After that, i did a git checkout head~, and the translation showed up correctly. Assuming this is the right way to test this, of course. |
@michaelDCurran: It could have to do with the move of the localisation initialisation. Note that all translatable strings in versionInfo show up as untranslated. This suggest versionInfo is imported without localisation being initialized properly. See logHandler around line 221: versionInfo must be imported after the language is set. Otherwise, strings won't be in the correct language. May be use a similar trick for the RemoteHandler? |
hello. |
Hi, I can't reproduce this exactly: For me, the info is also displayed in Spanish, even if I switch to catalon, French or Italian. Spanish is the language I use for Windows. |
Well, what NVDA version are you using? |
Hi, I'm using NVDA 2017.4rc1. I see that, in the General dialog of preferences submenu, languages of the combo box are shown in Spanish too testing with NVDA set to English. |
The .ini file says windows for language, I notice.
Brian
bglists@blueyonder.co.uk
Sent via blueyonder.
Please address personal email to:-
briang1@blueyonder.co.uk, putting 'Brian Gaff'
in the display name field.
----- Original Message -----
From: "nvdaes" <notifications@github.com>
To: "nvaccess/nvda" <nvda@noreply.github.com>
Cc: "Subscribed" <subscribed@noreply.github.com>
Sent: Friday, November 17, 2017 4:08 PM
Subject: Re: [nvaccess/nvda] GUI: About dialog is rendered in English
(#7770)
… Hi, I can't reproduce this exactly: For me, the info is also displayed in
Spanish, even if I switch to catalon, French or Italian. Spanish is the
language I use for Windows.
Cheers
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#7770 (comment)
|
No its definitely around the time noted, and I'm thinking Unicode for some
reason.
Might be barking up the wrong lamp post dunno.
Brian
bglists@blueyonder.co.uk
Sent via blueyonder.
Please address personal email to:-
briang1@blueyonder.co.uk, putting 'Brian Gaff'
in the display name field.
-----
|
I also can confirm this behavior. |
Hi, perhaps the title of the issue should be changed to: About dialog and language names in General settings are displayed in the default language for Windows. Cheers |
We're talking about the About dialog, not about the language names of General Settings Dialog. If you're switching to another language than English and open the About dialog from Help submenu, you'll see that it is shown in English, not in the language you've set. |
florianionascu7 commented
Maybe the two ones are caused by a common issue. Cheers |
Please test the following try build:
https://ci.appveyor.com/api/buildjobs/xhlj455yfuiv2jjr/artifacts/output%2Fnvda_snapshot_try-i7770-14631%2C0bfa4738.exe
|
Hi, resolved, keeping an eye out for further confirmations. Thanks.
From: Michael Curran [mailto:notifications@github.com]
Sent: Friday, November 17, 2017 6:44 PM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: Joseph Lee <joseph.lee22590@gmail.com>; Author <author@noreply.github.com>
Subject: Re: [nvaccess/nvda] GUI: About dialog is rendered in English (#7770)
Please test the following try build:
https://ci.appveyor.com/api/buildjobs/xhlj455yfuiv2jjr/artifacts/output%2Fnvda_snapshot_try-i7770-14631%2C0bfa4738.exe
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#7770 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AHgLkCgmx9VXjay01fwxAZUrlHZqf4PRks5s3kRxgaJpZM4QiDRJ> .
|
Hi, fixed also the issue reported by me related to About dialog, not exactly described as Joseph did. |
Hello, I can also confirm that this bug has been succesfully fixed. |
Yes, I can confirm that it is fixed in the test build. |
Yes the about rendered in French after changing nvda to French and
restarting and looking at about again.
Still having non- restart issues though on updates.
Brian
bglists@blueyonder.co.uk
Sent via blueyonder.
Please address personal email to:-
briang1@blueyonder.co.uk, putting 'Brian Gaff'
in the display name field.
-----
|
Yes also resolved for me. thanks!
…On 18/11/2017, Brian Gaff ***@***.***> wrote:
Yes the about rendered in French after changing nvda to French and
restarting and looking at about again.
Still having non- restart issues though on updates.
Brian
***@***.***
Sent via blueyonder.
Please address personal email to:-
***@***.***, putting 'Brian Gaff'
in the display name field.
-----
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#7770 (comment)
|
I think this issue can be closed now. |
Done, thanks. |
#14677) Related to #14660 Summary of the issue: When starting NVDA installs a 'fake' gettext and pgettext functions which translates to the language set as the current Windows locale. Later in the startup process languageHandler overwrites these installed translation functions with a new one which translate strings to the language chosen by the user (either in the configuration or from the CLI). Unfortunately if there is a module with translatable strings at its top level and it is imported before languageHandler is initialized these strings are either translated to the default system language, or for locales for which Python's locale.getdefaultlocale fails they remain in English. Similar problems were reported in #7770 and in #14657. Both of these are fixed, but the main problem is that bugs like this are difficult to identify before the release, since most contributors either use both NVDA and Windows in English, or at least their NVDA is in the same language as their operating system. Description of user facing changes This should not have any user visible impact. Description of development approach When starting NVDA or nvda_slave gettext and pgettext are no longer installed before initializing languageHandler.
Hi,
A critical showstopper found: when opening About dialog in languages other than English, content is displayed in English.
STR:
Expected: content is displayed in the new language.
Actual: English is displayed.
Severity: critical.
Affects: NVDA 2017.4 RC, master, next snapshots.
Thanks.
The text was updated successfully, but these errors were encountered: