Bug #1791
RCP: 0.7.7, localized URL strategy
Status: | New | Start date: | 05/10/2016 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Démarrage | Spent time: | - | ||
Target version: | TXM 0.7.8 |
Description
Currently, the welcome page is build using the locale of TXM. For example http://txm.sourceforge.net/welcome/0.7.7/de/welcome.html for a german locale.
But no welcome page is available for ALL locales.
Solution¶
- open the URL in Java before calling the browser
- if 404 then open the "en" based URL
Validation test¶
- set language to "ru"
- open the welcome page
- the english one must be displayed with URL = http://txm.sourceforge.net/welcome/0.7.8/en/welcome.html
History
#1 Updated by Matthieu Decorde over 7 years ago
- Subject changed from RCP: 0.7.7, welcome URL strategy to RCP: 0.7.7, localized URL strategy
- % Done changed from 0 to 70
need to test with a real TXM session
#2 Updated by Matthieu Decorde over 7 years ago
- Description updated (diff)
#3 Updated by Matthieu Decorde over 6 years ago
- % Done changed from 70 to 80
It should be ok now, tested from an Eclipse launch using the 'ru' locale.
(The code try to open the URL before showing the page, if it fails the 'en' locale is used)