Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: gevv on March 27th, 2014, 08:04 PM

Title: Disable user selectable language support error
Post by: gevv on March 27th, 2014, 08:04 PM
Hi,

language change problem  disable option controls whether languages  does not keep settings   

empty the file cache, I re-setting   problem continues



Title: Re: Disable user selectable language support error
Post by: Nao on March 27th, 2014, 08:20 PM
I'm not sure I understand your message, or even your video.

Normally, purging the cache (not the file cache, but the main menu option) should work.

There are a few glitches when manipulating languages on the language edit page. I'm aware of them, but they only happen there, AFAIK, and they disappear after a couple of reloads at most.
The only problem that happens on all pages is that if you empty the cache, the language selector will show all installed languages (not just the allowed ones), but this gets fixed automatically on the next page load. (So, basically, just reload your page after a cache purge.)
Title: Re: Disable user selectable language support error
Post by: gevv on March 30th, 2014, 07:14 PM
Hi,

I have set up my country's language default (Türkçe (TR))

I remove the tick : Enable user-selectable language support

Save settings.



Jump to other pages ....

automatically  changing  English (US) language

Note: setting does not change  changing only text



Title: Re: Disable user selectable language support error
Post by: Farjo on March 30th, 2014, 09:30 PM
@gevv Tick the box "Enable user-selectable language support" and click Save Setting. You will not get a language select box if only one language is available, but you site will be in Turkish.

Nao I recreated this using German. If the "Enable user-selectable language support" is not ticked (unchecked) then the site will be in the wrong language (I think the language above the default in the list).
Title: Re: Disable user selectable language support error
Post by: gevv on March 30th, 2014, 09:42 PM
hi,

I've tried  No problem in the admin panel

I logout

forum automatically  changing  English (US) language



I logged on again, the problem continues still in English

setting does not change  changing only text

(http://s16.postimg.org/61642rajp/Untitled_1.png)(http://postimage.org/)
Title: Re: Disable user selectable language support error
Post by: Farjo on March 30th, 2014, 09:55 PM
In the Languages screen click the "Clear the cache" button.

If that doesn't work click "Purge cache" from the main Admin menu.


Nao it does not go to the language above in the list but to English US.
Title: Re: Disable user selectable language support error
Post by: gevv on March 30th, 2014, 10:06 PM
hi,

yes already tried

I've tried different combinations :)

Title: Re: Disable user selectable language support error
Post by: Farjo on March 30th, 2014, 10:37 PM
Yes I can recreate this as well by removing my member's lngfile value in the members table.

Gevv when I run a Purge Cache I get the language drop-down - but only for one screen i.e. when I navigate to another screen it is gone. Do you get this too?
Title: Re: Disable user selectable language support error
Post by: Farjo on March 31st, 2014, 02:07 PM
@gevv make English available. Go to your Account Settings (under the Profile menu) and select Turkish, enter your password and save. Then you can untick the English(US) language but leave "Enable user-selectable language support" ticked. Purge the cache.

How is it now? And after logging out and in again how is it?
Title: Re: Disable user selectable language support error
Post by: Farjo on March 31st, 2014, 02:18 PM
And two more things...

Do you have the latest version of Wedge,

What is your browser's default language?
Title: Re: Disable user selectable language support error
Post by: Farjo on March 31st, 2014, 03:15 PM
@Nao From http://wedge.org/pub/feats/8542/poll-default-language/
"User's choice, then your browser's language (if available in the installed language list), then the site's default language"

The issue appears to be that when "Enable user-selectable language support" is off then Wedge is using the browser's language even when that language is not marked as 'Available'.
Title: Re: Disable user selectable language support error
Post by: Nao on March 31st, 2014, 03:31 PM
Oh... Good to know. :)
Title: Re: Disable user selectable language support error
Post by: gevv on March 31st, 2014, 03:38 PM
Quote from Farjo on March 31st, 2014, 02:18 PM
And two more things...

Do you have the latest version of Wedge,

What is your browser's default language?
hi,

yes, the latest version was installed   

my browser language Turkihs

I sent a private message with the admin details I would appreciate if you check
Title: Re: Disable user selectable language support error
Post by: Farjo on March 31st, 2014, 04:13 PM
@gevv try it now.

Nao how does Wedge match the browser's default language? gevv has:
lang_nameMaster value: Türkçe (TR)
lang_localeMaster value: tr_TR
lang_paypalMaster value: TR
lang_dictionaryMaster value: tr
lang_spellingMaster value: turkish

...but when I set my browser's language to 'Türkçe (tr)' it still displays in American. Comparing the above with German's values, is it the nameMaster which should be set to just 'Türkçe' ?
Title: Re: Disable user selectable language support error
Post by: gevv on March 31st, 2014, 04:26 PM
hi,

I did not finish (%30) better translation.  sufficient condition for members :)

I've added new languages (German, French) problem continues I tested
Title: Re: Disable user selectable language support error
Post by: Farjo on April 1st, 2014, 10:23 AM
gevv I set it up again as I described, the site is in Turkish. I log out and in again and the site is in Turkish. "problem continues" - in what way?
Title: Re: Disable user selectable language support error
Post by: Pandos on April 2nd, 2014, 02:02 PM
It's because it's a European project and Turkey isn't in EU, right? :D
No, just a late April fool! :whistle:
Title: Re: Disable user selectable language support error
Post by: CerealGuy on June 3rd, 2014, 02:24 PM
"Duplicate" of http://wedge.org/pub/fixed/8587/more-language-bugs/.
Should be fixed.
Title: Re: Disable user selectable language support error
Post by: Farjo on June 3rd, 2014, 03:15 PM
Quote from Farjo on March 31st, 2014, 03:15 PM
@Nao From http://wedge.org/pub/feats/8542/poll-default-language/
"User's choice, then your browser's language (if available in the installed language list), then the site's default language"

The issue appears to be that when "Enable user-selectable language support" is off then Wedge is using the browser's language even when that language is not marked as 'Available'.
@CerealGuy  Unfortunately not - the above issue is unchanged.
Title: Re: Disable user selectable language support error
Post by: Farjo on June 3rd, 2014, 03:30 PM
Eeek! Sorry that's my error, I made the admin change in one browser in one site and looked for results in another browser and looked at a different site.

But yes when I look at the correct site it is fixed.
Title: Re: Disable user selectable language support error
Post by: Nao on June 15th, 2014, 01:52 AM
Fixed, or not..?
Posted: June 15th, 2014, 01:05 AM

(Why are some topics in 'Archived fixes' when they're not marked as solved....?)
Title: Re: Disable user selectable language support error
Post by: CerealGuy on June 15th, 2014, 03:52 PM
Fixed.
Title: Re: Disable user selectable language support error
Post by: Farjo on June 15th, 2014, 08:16 PM
Quote from Nao on June 15th, 2014, 01:52 AM
(Why are some topics in 'Archived fixes' when they're not marked as solved....?)
Because Gavv hasn't marked it as fixed, but it has been solved.