View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002266 | NetSurf | RISC OS-specific | public | 2015-02-01 06:38 | 2018-08-29 14:01 | ||||
Reporter | Dick Tanis | ||||||||
Assigned To | |||||||||
Severity | minor | Reproducibility | always | ||||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | RISC OS | OS Version | 4.x 5.x | |||||
Product Version | 3.2 | ||||||||
Target Version | 3.8 | Fixed in Version | 3.8 | ||||||
Summary | 0002266: URLs about:welcome, about:credits and about:licence don't load localized version when the corresponding files are available | ||||||||
Description | When UI and/or website language in NS is configured into for example German or Dutch and about:welcome, about:credits or about:licence is opened always the English HTML-pages from Resources.en are opened even when the corresponding language dir contains a localized version of the HTML file. | ||||||||
Steps To Reproduce | Get NS version 2564. Start it. Configure UI and website language to 'Nederlands'. Restart NS. The English Welcome page is displayed instead of the Dutch one. Go to main window. Open menu and go to 'Help' and select 'Credits' and 'Licence'. The English versions of those pages are opened instead of the Dutch ones. | ||||||||
Tags | No tags attached. | ||||||||
Fixed in CI build # | 4302 | ||||||||
Reported in CI build # | 2564 | ||||||||
URL of problem page | about:welcome, about:licence, about:credits | ||||||||
Attached Files |
|
Notes | |
Dick Tanis (reporter) 2015-03-04 20:11 |
Supplied patch which fixes this problem. It's not perfect but it works. |
Sprow (reporter) 2015-08-13 07:43 |
I think it would be more consistent to use ro_gui_default_language() to construct the about: URIs since that's where the other application resources are retrieved from. Also, since sprintf() returns the number of characters emitted we can use its return value to increment ptr directly. |
Sprow (reporter) 2017-06-10 15:36 |
This patch (to use sprintf of ro_gui_default_language instead of hardwired 'en') still seems to apply cleanly to the latest sources. Could it be integrated? |
John-Mark Bell (administrator) 2018-01-21 14:29 |
Fixed in 4302. sprintf approach is fine, but I disliked the assumption that ro_gui_default_language() returned a string that was 2 characters long, so the preceding length calculation has been updated to take account of the actual length of the language identifier. |
Vincent Sanders (administrator) 2018-08-29 14:01 |
Thank you for your report, this has been resolved in the 3.8 release |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-02-01 06:38 | Dick Tanis | New Issue | |
2015-02-04 09:03 | Vincent Sanders | Status | new => confirmed |
2015-02-16 14:12 | Michael Drake | Assigned To | => Steve Fryatt |
2015-03-04 20:09 | Dick Tanis | File Added: langresource.patch | |
2015-03-04 20:11 | Dick Tanis | Note Added: 0000627 | |
2015-08-13 07:41 | Sprow | File Added: gui.patch | |
2015-08-13 07:43 | Sprow | Note Added: 0000898 | |
2015-10-31 21:58 | Vincent Sanders | Assigned To | Steve Fryatt => |
2017-06-10 15:36 | Sprow | File Added: gui-2.patch | |
2017-06-10 15:36 | Sprow | Note Added: 0001570 | |
2018-01-21 14:29 | John-Mark Bell | Status | confirmed => resolved |
2018-01-21 14:29 | John-Mark Bell | Resolution | open => fixed |
2018-01-21 14:29 | John-Mark Bell | Fixed in Version | => 3.8 |
2018-01-21 14:29 | John-Mark Bell | Target Version | => 3.8 |
2018-01-21 14:29 | John-Mark Bell | Fixed in CI build # | => 4302 |
2018-01-21 14:29 | John-Mark Bell | Note Added: 0001714 | |
2018-08-29 14:01 | Vincent Sanders | Status | resolved => closed |
2018-08-29 14:01 | Vincent Sanders | Note Added: 0001832 |