Feature #1245
GWT: x.x, localize, update and parameterize the splash screen message
Status: | New | Start date: | 01/29/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | UI | Spent time: | - | |
Target version: | Portal X.X |
Description
Splash locale¶
The default TXM portal locale is unique and is defined with the splash message in the '/TXMWEB.jsp' file:
<meta name="gwt:property" content="locale=fr_FR">
We should be able to switch splash message languages.
In order of priority, the message language would be defined by:- the HTTP URI query "locale" parameter
- the HTTP session locale (language asked by the browser)
- the '/TXMWEB.jsp' portal entry point page
portal administrator contact address parameter¶
The portal administrator contact address is fixed in the entry point page, we should be able to get it from the portal configuration files.
New splash messages (to use in '/TXMWEB.jsp'):
FR
splash
Bienvenue sur le portail de démonstration de TXM
Veuillez attendre la fin du chargement...
Si cet écran s'affiche pendant plus de 2 minutes, cliquez sur le bouton "Actualiser" de votre navigateur.
Si le message "La session n'a pu être démarrée" s'affiche, appuyez simultanément sur les touches Ctrl et F5 de votre clavier pour actualiser la page courante et purger le cache du navigateur.
Si le problème persiste, veuillez contacter l'administrateur du portail.
No Javascript
Vous devez activer JavaScript dans votre navigateur pour que ce portail puisse fonctionner.
EN
splash
Welcome to the TXM demo portal
Please wait for loading...
If this screen appears for longer than 2 minutes, click the "Refresh" button of your browser.
If "The session could not be started" message appears, simultaneously press the Ctrl and F5 keys on your keyboard to refresh the current page and purge the browser cache.
If the problem persists, contact the portal administrator.
No Javascript
Your web browser must have JavaScript enabled in order for this portal to display.
Solution 1¶
Use JavaScript in the entry point page:- display nothing
- display the splash message in the defined language
Solution 2¶
Use a different entry point page for each language (at J2EE level, choose the right page)
History
#1 Updated by Matthieu Decorde over 8 years ago
- Tracker changed from Task to Feature
- Subject changed from GWT: x.x, update the splash screen message to GWT: x.x, localize and update the splash screen message
- Description updated (diff)
#2 Updated by Matthieu Decorde over 8 years ago
- Subject changed from GWT: x.x, localize and update the splash screen message to GWT: x.x, localize, update and parameterize the splash screen message
- Description updated (diff)
#3 Updated by Matthieu Decorde over 8 years ago
- Description updated (diff)