mainSavannah Administration - Support: sr #108827, Unable to change language of the...

 
 

sr #108827: Unable to change language of the page

Submitter:  Alexey Veretennikov <fourier>
Submitted:  Fri 29 May 2015 12:57:01 PM UTC
   
 
Category:  Savannah website Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 20 May 2018 04:20:58 PM UTC, comment #12: 

An additional language selection was implemented via the "Language" link in "This Page" part of the side menu.

Ineiev <ineiev>
Site Administrator
Sat 11 Jun 2016 10:19:24 PM UTC, comment #11: 

Hi Ineiev - sure, I am well aware of the process "in theory". After all, I maintained plenty of GNU packages that used TP, not to mention worked with Francois Pinard back when he was creating it(s predecessor) in the first place, ~30 years ago.  Etc.

What's not in my brain is how to extract the strings from the savane code (specifically), import the translations from tp into savane (specifically), and how to set it all up in some reasonable cron job -- probably not doing the actual commit, but at least being notified that there are new strings and making it easy (one command) to commit them.

In other words, not generalized descriptions of what needs to be done, but doing/implementing the actual work.  That is what I hoped some volunteer would come forward to work on.  It being a rather separable task from other savane stuff.

Karl Berry <karl>
Site Administrator
Sat 11 Jun 2016 07:22:46 PM UTC, comment #10: 

I've got the statistics with
for i in po/*.po;do echo -n "$i: ";msgfmt -o/dev/null --statistics $i;done

WRT exporting to TP, it mustn't be hard. basically, one would need to contact TP admins to register a new domain, and then periodically upload new templates, download the updated translations from TP and put them to Git.

Ineiev <ineiev>
Site Administrator
Sat 11 Jun 2016 03:37:36 PM UTC, comment #9: 

how did you get those statistics?

at any rate, i think it's self-evident that there is no great need for translations, given the number of untranslated messages -- although perhaps the ones with <100 missing are usable.  anyway, i went ahead and disabled everything but en_US in i18n.php (thank you for finding that) and will write savannah-users now.

it would be nicer if we could somehow get the translations updated, of course.  maybe someone will come forward to figure out how to export/import the savane messages to translationproject.org.

thanks,
karl

Karl Berry <karl>
Site Administrator
Fri 10 Jun 2016 04:52:59 AM UTC, comment #8: 

I think it would be sufficient to edit the $supportedLanguages in frontend/php/include/i18n.php to switch off the languages.

This is statistics for localizations:
ca.po: 1721 translated messages, 139 fuzzy translations, 92 untranslated messages.
de.po: 1960 translated messages.
es.po: 1852 translated messages, 36 fuzzy translations, 64 untranslated messages.
fr.po: 1816 translated messages, 79 fuzzy translations, 57 untranslated messages.
it.po: 1671 translated messages, 179 fuzzy translations, 102 untranslated messages.
ja.po: 438 translated messages, 902 fuzzy translations, 612 untranslated messages.
pt_BR.po: 438 translated messages, 902 fuzzy translations, 612 untranslated messages.
ru.po: 750 translated messages, 261 fuzzy translations, 949 untranslated messages.
sv.po: 1898 translated messages, 43 fuzzy translations, 11 untranslated messages.

(this doesn't take into account possible new messages that weren't marked for localization, though.)

Probably we could ask savannah-users if people need i18n.

Ineiev <ineiev>
Site Administrator
Thu 09 Jun 2016 09:41:26 PM UTC, comment #7: 

i'm fine with removing (= archiving away) the translations.  i don't know where they are, but presumably it would not be difficult to find them. shall i?  ineiev, please confirm?

Karl Berry <karl>
Site Administrator
Tue 07 Jun 2016 04:38:20 AM UTC, comment #6: 

Realistically, we could remove all translations; this might be acceptable in case no translations are actively maintained.

Ineiev <ineiev>
Site Administrator
Mon 06 Jun 2016 08:20:13 PM UTC, comment #5: 

I fear this is one of those issues where we can all agree, yes, it is a problem, but have no solution to it. Unless someone steps up to understand and work on the problem it won't get fixed. From the comments it looks like there would need to both be a way to manually change the language on a page and also to verify that there are translations for pages and also that the translations are acceptably good.

Bob Proulx <rwp>
Site Administrator
Sat 04 Jun 2016 05:59:14 AM UTC, comment #4: 

In many browsers (e.g. mobile) the language can NOT bet set easily. Besides, it makes no sense to force users to change a global setting to change the behavior of a single web site.

A different issue is that i in many cases the translations make so sense, so it's actually worse than no translation at all.

Just my two cents...

Anonymous
Mon 18 Jan 2016 06:51:33 AM UTC, comment #3: 

In many browsers, the language can be selected in settings; a different issue is that many translations are incomplete, and there are no people to update them.

Ineiev <ineiev>
Site Administrator
Mon 18 Jan 2016 06:16:38 AM UTC, comment #2: 

It has been some time since the last interaction on this ticket.  Is the language selection still a problem? (Unfortunately I know nothing about how this works. But I am trying to triage some of the older open tickets.)

Bob Proulx <rwp>
Site Administrator
Fri 23 Oct 2015 05:37:15 AM UTC, comment #1: 

Hello, Alexey!

As far as I can tell, Savannah doesn't check your IP, what it does is respect the Accept-Language header. Please check the settings of your browser.

Ineiev <ineiev>
Site Administrator
Fri 29 May 2015 12:57:01 PM UTC, original submission:  

The Savannah websites determines the language by my ip, but I cannot change it then (no language button/option etc).
How can I change the language of the site?

Alexey Veretennikov <fourier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by karl (Posted a comment)
  • -email is unavailable- added by rwp (Posted a comment)
  • -email is unavailable- added by ineiev (Posted a comment)
  • -email is unavailable- added by fourier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-20 ineiev StatusNeed Info Done
    2016-06-11 karl Open/ClosedOpen Closed
    2016-01-18 rwp StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code