after language change site is under construction

crnogorac081

Web developer

D. Peeters

#9
Quote from: crnogorac081 on October 25, 2009, 05:42:19 PM
Could anyone else test and confirm this please, so I can create a ticket..

cheers

i tried it, same problem (i have a nl/en site)
my solution: delete all language files except for nl/en :P

LordDarkman

Mhh ok, nice Exaample. So I think the best way to do this is set a default frontend and Backend language. At the moment the frondend language comes out of the db. That's the reason while it changes if you switch backend language. So what can you do? Override language selection in froontend (if RU set EN) or define a frontend default language and the visitor has to change it every time he visit the side.
I think this should be a future request and at the moment it is a bug.

CU Moritz

crnogorac081

#7
Doesnt metter, you can use any site, just turn page languages in Settings > advanced settings and create a page on another language.

Then change your admin language to some third language and there it is. When you open root of site, iit is under construction for that user.

Now this is even more wierd - when you log in as test user, and change language to some third language - the site goes under construction if you remove account/login.php - just open root.., But, if you type direct url: ROOT/blog/home.php?lang=EN site opens and prefered language is changed from third language to english..also then when you click on montenegrian flag prefered language is changed to montenegrian..

is it suppposed to work this way ?

I dont think its user misconfig.. For example if I have a client who whishes to have montenegrian and english language on site, but since he/she speaks better german than montenegrian he/she will change his/hers prefered language to german - then main url will go under construction..- or in case I just discovered - his/hers prefered language will change to the EN if she opens direct url eg. ROOT/page1.php?lang=EN




Web developer

LordDarkman

Sry but I don't have a multilanguage site. I tested at your side and there it happend. But, just when I logged in AND enter the main url. So to do this I have to change the admin language to a language I don't speak and try to visit this site by klick view website...
I think this is not a bug because it happens because of user misconfig. I'm still able to switch the language with flags.

Other thougt: when i enter a url witch doesn't exist, is it a bug that my browser doesn't display the right url?

CU Moritz

crnogorac081

Could anyone else test and confirm this please, so I can create a ticket..

cheers
Web developer

crnogorac081

#4
Ok,

Could someone else please test his multilanguage site..

You can check with your admin user.

So if you have for example EN and DE language, if your prefered admin language is EN, when you log in, you will see pages in EN. When you switch language to DE, when you open home page, you will see pages on DE (so far this is ok)

Now if you change your prefered admin language to any other than these 2 (which frontend pages use) your site will show under construction page to this user until he log of, or change language..

Someone please confirm this, so I can post a ticket..

cheers


UPDATE: It happens when Page languages are enabled in Advanced Settings
Web developer

crnogorac081

#3
Not yet,

I noticed that, few minutes before I posted on forum, here while I was testing the top login panel [username: test , pass: demo123 so you can test yourself :) ] and noticed that someone changed prefered language from EN to DE so when I loged and opened root again, I got homepage with under construction message..
Web developer

Ruud

Seems not really ok to me..

Did you create a ticket about this already?

Ruud

[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

crnogorac081

Hi,

I just find out that after language change site is under construction, if language si different then the one used on pages..

Example: if you have multilanguage site with pages on En and NL languages, then if loged in user change language in his preferences to DE language , the fontend site goes under construction... Dont you think this is bug ?

If it is, I suggest the site sould use the defult language..

cheers
I.
Web developer