Flag for Language Switcher Wrong Redirecting URL

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Flag for Language Switcher Wrong Redirecting URL

Postby javier94 » Tue Nov 14, 2017 8:07 pm

hello

i have instaled joomla 3.8.2 and multilingual site..
with english 3.8.2
spanish 3.7.2.1
catalan 3.7.3.3
galician 3.3.1.2
basque 3.7.5

the website is in: http://www.iocleanerlab.com/selectiumlab.com

you will see the flags in top-left position with the 5 flags

all the flags are ok.. and the url is working in all languages less in spanish..

if you click in spanish sometimes go to .. http://www.iocleanerlab.com/selectiumla ... dex.php/es (is the right url)
but if you change language and bact to spanish go to

http://www.iocleanerlab.com/selectiumla ... oria-es-es (WRONG URL) how can i change that???? and fix the right url commented in the above line...

thanks in advance

Javier
Last edited by imanickam on Wed Nov 15, 2017 9:05 am, edited 1 time in total.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18459
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: FLAG FOR LANGUAGE SWITCHER WRONG REDIRECTING URL

Postby infograf768 » Wed Nov 15, 2017 6:24 am

You do not need to associate Home pages. They are associated automatically. It looks like you have a wrong association.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Re: FLAG FOR LANGUAGE SWITCHER WRONG REDIRECTING URL

Postby javier94 » Wed Nov 15, 2017 8:39 am

I have check asociations.. i have 5 languajes .. 6 main menu..

1.- the main menu (home icon) in asociation there is nothing because in languajes are all.. so no asociation

2.- the other 5 languages.. have asociation in the home page with the rest of other languajes.. as i have seen in some tutorial..

do you mean i have to delete the languajes asociation between languajes???? can you send to me a tutorial or video for configuration to check and see where is the mistake???

and do you think that when i click in the flag.. in the spanish languaje... and is not re-directing to the right place........ the trouble is the asociation???

thanks in advance

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18459
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: FLAG FOR LANGUAGE SWITCHER WRONG REDIRECTING URL

Postby infograf768 » Wed Nov 15, 2017 8:45 am

> 2.- the other 5 languages.. have asociation in the home page with the rest of other languajes.. as i have seen in some tutorial..

Do not associate these. It is unnecessary and could be the reason for your issue.
Make sure your Spanish language home menu item is set to a similar type as the others.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Re: FLAG FOR LANGUAGE SWITCHER WRONG REDIRECTING URL

Postby javier94 » Wed Nov 15, 2017 9:06 am

i have delete the asociations.. in any languaje in asociation is nothing.. not the others languages. delete
i have unpublish the Main Menu ( home icon) ..

now i can see the menu.. but the menu.. is the same in all the languajes.. when i have make one menu for each languaje... and the flag still working wrong..

any sugestion???

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18459
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Flag for Language Switcher Wrong Redirecting URL

Postby infograf768 » Wed Nov 15, 2017 9:23 am

Do NOT UNpublish the Main menu which home item is set to ALL languages.
Just unpublish its menu module if present.

Just make sure you have a home menu item for each language and do not associate these home menu items
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Re: Flag for Language Switcher Wrong Redirecting URL

Postby javier94 » Wed Nov 15, 2017 9:31 am

hello..

the main menu (home icon) is published.. and the module of main menu is unpublished.. this is ok
checked.. associations between languajes deleted.. in association now will not appear the square with the languages associations

i have one "home" item menu.. for main menu.. and one "home" item menu for the rest of languages.. the diference is the name is diferent.. i mean.. "home" in english, "inicio" in spanish, "inici" in catalan, "hasiera" in basque.. in this home item appears the flag for each language in the inicio column beside to access colum... this is ok like this.. or in all languages the home item should be named as "home"

thanks in advance!

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18459
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Flag for Language Switcher Wrong Redirecting URL

Postby infograf768 » Wed Nov 15, 2017 9:39 am

You can keep different names/aliases for each Home menu item. That is fine.
Make sure the Home menu item set to ALL languages (in the unused MainMenu) has a different alias.

Screen Shot 2017-11-15 at 10.38.14.png
You do not have the required permissions to view the files attached to this post.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Re: Flag for Language Switcher Wrong Redirecting URL

Postby javier94 » Wed Nov 15, 2017 9:52 am

main menu .. home ... alias.. home-all
main menu spanish.. inicio.. alias... inicio-es
main menu english-- home.. alias.. home-en-gb
main menu catalan.. inici... alias.. inici-cat
main menu basque... hasiera.. alias.. hasiera-eu
main menu galician... casa .. alias... home-gl

this is what i have now.. do you want to change the alias to home-(language extension, for example??)

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18459
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Flag for Language Switcher Wrong Redirecting URL

Postby infograf768 » Wed Nov 15, 2017 9:58 am

You do not need to.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Re: Flag for Language Switcher Wrong Redirecting URL

Postby javier94 » Wed Nov 15, 2017 10:08 am

ok..

if you check in http://http://www.iocleanerlab.com/selectiumlab.com

you will see the menu appears.. but only one menu.. the main menu.. if you change with the flags the language will not change the menu.. you can see the item " home" is the same in all the languages when the name of item "home" in each language is diferent as i said previosly..

and the url direction for spanish flag remain the same.. now is wrong.. go es to

http://www.iocleanerlab.com/selectiumla ... oria-es-es ( wrong direction)
before to do this if you click 2 times go es to

http://www.iocleanerlab.com/selectiumla ... x.php/es/( right direction, but now, you click 2 times not dissapear the wrong direction)

do you think that should i create other language switcher module...???

or any suggestion to solve this..

if you tell me how.. i can send you some images of everything.. but i don´t see here how to add images??

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18459
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Flag for Language Switcher Wrong Redirecting URL

Postby infograf768 » Wed Nov 15, 2017 12:49 pm

The links above are weird (2 times .com).
But anyway there are some settings that must be wrong as the same menu appears for all languages.
You can send me credentials by private forum and I will try to solve this (I don't promess I will succeed).
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Re: Flag for Language Switcher Wrong Redirecting URL

Postby javier94 » Wed Nov 15, 2017 1:37 pm

sended by private message

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18459
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Flag for Language Switcher Wrong Redirecting URL

Postby infograf768 » Fri Nov 17, 2017 10:51 am

Corrected your site.
Your template styles for each language needed specific parameters (position set to None) & no menu assignments.
Took off menu assignments when unnecessary for the menu modules and set their position to navbar.
Took off associations for the Homes.
Set Spanish Home to category blog as for other Languages.
Looks fine now.

You have to update your Yootheme template.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

javier94
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 09, 2011 10:02 pm

Re: Flag for Language Switcher Wrong Redirecting URL

Postby javier94 » Fri Nov 17, 2017 11:01 am

ok.. perfect.. you are the best..!!!

many thanks

Javier


Return to “Language - Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 2 guests