Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Download or installation problems? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - Errors when visiting help in non-English language
Errors when visiting help in non-English language
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice Mobile Testing
View previous topic :: View next topic  
Author Message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon May 18, 2009 1:05 pm    Post subject: Errors when visiting help in non-English language Reply with quote

1) Use NeoMobile in a non-English language, e.g. French.
2) Click on Help
3) Observe server spew
4) Try to go somewhere else
5) Sad

Beyond the UI not being localized anywhere, there's server spew where the header and footer should be on the Help page.

If you're using the NeoMobile client, you have to close the palette and open it again in order to escape; in a browser you can just go "Back" and know to avoid "Help" forevermore. Wink

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Mon May 18, 2009 1:32 pm    Post subject: Reply with quote

I have not been able to reproduce this on my machine and I wonder if I am going to a different NeoOffice Mobile server than you are.

Can you try the following steps so we can see which NeoMobile server you are accessing.

1. Launch the /Applications/Terminal application, copy the following command into the Terminal window, and press the Return key:
Code:
ping neooffice-test.neooffice.org


2. Use Control-C to stop the output after a few lines

3. Paste the output in the Terminal window into this forum topic

thanks --fran
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11882
Location: California, USA

PostPosted: Mon May 18, 2009 6:23 pm    Post subject: Reply with quote

I can reproduce this bug by changing my preferred language to any non-English language in the System Preferences application, restarting Safari, and accessing NeoOffice Mobile in Safari, and clicking on the Help link. It appears that Tim's localization lookup code is failing to use a fallback mechanism if a localization file does not exist.

Also, there is a second related bug: in all of the application pages, the message key is being displayed instead of the localized message for each message key. Like the Help bug, no fallback mechanism appears to be used when there are no localization files for the browser's preferred language.

Patrick
Back to top
View user's profile Send private message Visit poster's website
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Mon May 18, 2009 7:13 pm    Post subject: Reply with quote

I have created bugs to track these two issues.

pluby wrote:
I can reproduce this bug by changing my preferred language to any non-English language in the System Preferences application, restarting Safari, and accessing NeoOffice Mobile in Safari, and clicking on the Help link. It appears that Tim's localization lookup code is failing to use a fallback mechanism if a localization file does not exist.

Bug 3478, Help in non-English produces warning messages has been opened to track the above issue.

pluby wrote:
Also, there is a second related bug: in all of the application pages, the message key is being displayed instead of the localized message for each message key. Like the Help bug, no fallback mechanism appears to be used when there are no localization files for the browser's preferred language.

Bug 3479, Non-English browsers show message keys instead of message text has been opened to track the above issue.

When there are status updates to either bug we will post them here.

--fran
Back to top
View user's profile Send private message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon May 18, 2009 9:20 pm    Post subject: Reply with quote

pluby wrote:
I can reproduce this bug by changing my preferred language to any non-English language in the System Preferences application, restarting Safari, and accessing NeoOffice Mobile in Safari, and clicking on the Help link.

You should also be able to reproduce it in the NeoOffice Mobile palette after performing those same steps and launching NeoOffice; I was really impressed that the server was also able to get the correct language from NeoOffice, too Very Happy

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
Gust
Councilperson


Joined: Oct 09, 2007
Posts: 137

PostPosted: Mon May 18, 2009 10:39 pm    Post subject: Reply with quote

sardisson wrote:
I was really impressed that the server was also able to get the correct language from NeoOffice, too Very Happy
That was actually what I tested for after getting message keys: switch the NeoOffice language to US-EN. But that didn't impact NeoOffice Mobile, which as I now understand uses Safari as a base.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11882
Location: California, USA

PostPosted: Mon May 18, 2009 10:44 pm    Post subject: Reply with quote

Gust wrote:
sardisson wrote:
I was really impressed that the server was also able to get the correct language from NeoOffice, too Very Happy
That was actually what I tested for after getting message keys: switch the NeoOffice language to US-EN. But that didn't impact NeoOffice Mobile, which as I now understand uses Safari as a base.


Yes. That is correct. We use Apple's embeddable WebKit browser which is basically the core engine for Safari.

Patrick
Back to top
View user's profile Send private message Visit poster's website
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Tue May 19, 2009 10:47 am    Post subject: Reply with quote

Bug 3479, Non-English browsers show message keys instead of message text and bug 3478, Help in non-English produces warning messages have been fixed.

Can you try accessing NeoOffice Mobile Help in a language other than English? Does the UI localization fail back to the default, English and are the header and footer present?

--fran
Back to top
View user's profile Send private message
Gust
Councilperson


Joined: Oct 09, 2007
Posts: 137

PostPosted: Tue May 19, 2009 10:51 am    Post subject: Reply with quote

narf wrote:
Can you try accessing NeoOffice Mobile Help in a language other than English? Does the UI localization fail back to the default, English and are the header and footer present?
Not sure what you mean by the footer, but everything seems to work now as it should.
Back to top
View user's profile Send private message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue May 19, 2009 11:18 am    Post subject: Reply with quote

narf wrote:
Can you try accessing NeoOffice Mobile Help in a language other than English? Does the UI localization fail back to the default, English and are the header and footer present?

Yes and yes. Looks good Smile

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Tue May 19, 2009 11:34 am    Post subject: Reply with quote

sardisson wrote:
Looks good Smile


Thanks go to TimT for taking care of it quickly.

--fran
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice Mobile Testing All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.03 Seconds