Splash screen in Joomla! 2.5 (multilanguage)

General questions regarding the use of languages in Joomla! 2.5.

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.
Locked
antonio_r
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 20, 2014 9:00 am

Splash screen in Joomla! 2.5 (multilanguage)

Post by antonio_r » Sun Apr 20, 2014 9:05 am

I set up a multilanguage website, in Joomla! 2.5, without installing any new module in the following way:

Installed the lanaguage packs:
  • Set up my different languages in in Extension->language manager
  • I created an article, a category and a menu for each language.
  • I associated each article to the corresponding category and menu
  • Each article is thus the home of its language
Everything work flowlessly, and I can switch from one language to another too (with the language switcher).

The problem is: I need to put a splash screen for all languages.

For this purpose, I created an article with langage="ALL", a category with language="ALL" and set up the article as default of the "Home" menu (langage="ALL")

But when I go to http://example.org/, I get redirected to http://example.org/it/ (where 'it' is the last language I used), and this last homepage is ignored.

So, how can I prevent Joomla!2.5 to automatically redirect me to my language home? And how can I set Joomla!2.5 to show me the same splash screen for each lanaguages?

Thanks!

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22153
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, The Netherlands
Contact:

Re: Splash screen in Joomla! 2.5 (multilanguage)

Post by pe7er » Sun Apr 20, 2014 9:19 am

Welcome to Joomla forum!

What do you define as splash screen? What's it's purpose?

A multilanguage website will always load the homepage item of one of its languages:
the language that is the same as the language in the visitors browser or set as default language for the front-page.

To have one homepage available for all languages:
Create an article and assign it to language "All",
in every "language menu" (one menu per language):
create a menu item of type "single article", choose the article you just created,
assign it to a language and set as default homepage.
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
Co-developer of d2 Content https://data2site.com/joomla-extensions/d2-content

antonio_r
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 20, 2014 9:00 am

Re: Splash screen in Joomla! 2.5 (multilanguage)

Post by antonio_r » Sun Apr 20, 2014 11:30 am

pe7er wrote:Welcome to Joomla forum!
What do you define as splash screen? What's it's purpose?
Thanks for asking: since the website is made for foreigners in my country, which can connect from internet cafes, I can't use any default languages or rely on browser information.

This splash screen will ask the user to choose his/her language and then send him/her to the corresponding home page.

Once the user manually select its language, is redirected to a presentation page (home page for the language) in its language.
pe7er wrote:create a menu item of type "single article", choose the article you just created,
assign it to a language and set as default homepage.
This technique will work of course, but when I change language in the Language Switcher I will be redirected to the splash screen.
With this solution, the new problem is then: how to let the Language Swithcer send me to a language-specific page.

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

Re: Splash screen in Joomla! 2.5 (multilanguage)

Post by infograf768 » Sun Apr 20, 2014 4:17 pm

The home menu item set to language "All" should/is never be used on a multilingual site.

If your server is set such, you can create an index.html file that will have precedence over the index.php and where you can include links to the languages concerned. In this case, never set the language filter to not display the language code for the default site language.

See http://stackoverflow.com/questions/7873 ... -index-php
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Language - Joomla! 2.5”