Bug #1791

RCP: 0.7.7, localized URL strategy

Added by Serge Heiden about 3 years ago. Updated almost 2 years ago.

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

History

#1 Updated by Matthieu Decorde about 3 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 about 3 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde almost 2 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)

Also available in: Atom PDF