[nvda-addons] Re: [Nvda-devel] Addons page questions

  • From: Grzegorz Zlotowicz <grzezlo@xxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Wed, 18 Sep 2013 16:04:09 +0200

No, it's not a matter of cookies, because after clicking Polish for first time, I must do it next time during revisiting website. Unfortunately, I can't find the code piece where this detection is performed, probably I must learn more about Ikiwiki mentioned by Mesar, and how it interacts with other components, so where the template file is placed and how it looks, and second - where is the code running, as it seems that the addons pages are mostly .html static files, so rather having no way of doing something server-side e.g. parsing accept-language header, and deciding which content to send to the client.


Greetings, Greg.
W dniu 2013-09-18 11:24, Ondrej Rosik napisał/a:
Hmm, I am getting the page in Slovak as expected, but I am not sure if I get it in slovak in first time so maybe there are cookies involved, but probably not.


Dňa 18. 9. 2013 8:48 Grzegorz Zlotowicz  wrote / napísal(a):
Hello,
so as Mesar suggested, i'm moving this thread to addons list from devel,
and by the way - welcome to everybody here.
1. Language autodetection doesn't work for my language/browser.
I used Firefox 23.0.1
and Iexplorer  10.0.9200.16686
and it didn't work in both browsers.
For iexplore the Accept-Language  is:
pl-PL
and for Firefox
Accept-Language
pl,en-us;q=0.7,en;q=0.3
and after navigating to addons.nvda-project.org I get the site in
English, and pl translation is 100 % but I must switch to it manually.

I downloaded the nvdaaddonteam/ikiwiki-ctl, but it's only the
nvdaWeb.setup file, and i didn't find the template modifications you
mention.
Unfortunately after downloading git.ikiwiki.info I don't see templates
too, so I'll try to investigate thing further later.
By the way, I'd suggest also putting the percentage of translation in
the language link, so by simply pressing Tab user receives all needed
information.

And in fact - untranslated phrases are showing up in the pages - my mistake.

Greetings, Greg.

W dniu 2013-09-16 23:03, Mesar Hameed napisał/a:
Hi,

On Mon 16/09/13,20:00, Grzegorz Zlotowicz wrote:
Hello,
my question, whom could I contact off-list regarding development of
addons.nvda-project.org website?
Me, at the moment.
but unfortunately I don't have much time these weeks.


I have 3 suggestions, and maybe will be able to help with the code a bit? 1. Language auto-detection, based on accept-language header send by the
browser.
This should already be working, isnt it for your language/browser?

Now user experience is a bit difficult - 1. go to site, 2. locate your
language, 3. on each subpage it's needed to skip manually trough all the
language links...
It could be simplified - language autodetection,
and simple form with
possibility of force an other language by selecting it from the list and
clicking change (probably not needed for most users, but anyway) it
could be located at the end of each subpage.
We are mostly using the default template files that come with ikiwiki,
with small modifications to add h1 for inline and archive pages.
our files can be found here:
https://bitbucket.org/nvdaaddonteam/ikiwiki-ctl
you can read more about ikiwiki here:http://ikiwiki.info
and clone its source
git clone git://git.ikiwiki.info/
if you look at the templates directory you will see the default
templates that we havent overridden.
I realize that you dont have a wiki instance to test with, but Templates are quite nice and shouldn't be hard to modify to give better
accessibility.
you can view the raw html source of addons.nvda-project.org, to see what
template is used when, if I remember correctly its nicely commented.


2. If it isn't as easy as we would like it to be for technical reasons, I'd suggest small, quick but powerful modification of layout, that after the long language list header with repeated page title be placed, making
it easy by pressing h letter to skip to page content.
This is certainly possible.
Some of the templates use landmarks, but they dont work for me here with firefox/orca on linux. Again not had the time to locate the issue to see
if it is my software or the html markup that needs improving.

3. Untranslated phrases should be placed in original english form in
content of sites, because now user knows that 50 percent of website is
not translated, but he or she doesn't know what is missing...
This is already done, the message will be fuzzy, and the english message
is displayed instead.
This means that you might have 2 translated paragraphs separated by a
paragraph in english.

We can continue this thread on the addon list:
//www.freelists.org/list/nvda-addons

thanks,
Mesar


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk


_______________________________________________
Nvda-devel mailing list
Nvda-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nvda-devel
----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org


----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

Other related posts: