1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Check for Updates fails with German localization

Check for Updates fails with German localization

Postby htgoebel » Sun Mar 10, 2013 6:02 pm

AS Felix asked me to post here, I do.

The menu entry "Check for Updates" gives a warning in he console of running with German localization:
Code: Select all
Mrz 10, 2013 6:57:20 PM org.freeplane.core.util.LogUtils warn
WARNING: Could not read update url - check your internet connection.

Test it by running `LC_ALL=de_DE ./freeplane.sh`

When running with `LC_ALL=C ./freeplane.sh`, the warning does not occur.

Platform: Linux
Greetings
hartmut
htgoebel
 
Posts: 42
Joined: Tue Feb 12, 2013 10:27 pm

Re: Check for Updates fails with German localization

Postby fnatter » Sun Mar 17, 2013 4:10 pm

hi Hartmut,

sorry for the false alarm:

the problem is that with Language=German Freeplane tries to read:
http://freeplane.sourceforge.net/info/h ... ory_de.txt
(and that's where the warning comes from)

BUT then it uses history_en.txt as a fallback:
http://freeplane.sourceforge.net/info/h ... ory_en.txt
so it should be working ok (at least for me).

Best Regards,
Felix
fnatter
 
Posts: 149
Joined: Mon Jan 23, 2012 5:50 pm

Re: Check for Updates fails with German localization

Postby boercher » Sun Mar 17, 2013 9:48 pm

fnatter wrote:the problem is that with Language=German Freeplane tries to read:
http://freeplane.sourceforge.net/info/h ... ory_de.txt

Felix, this looks like bug to me as there have never been a history_de.txt, at least not to my knowledge. Could you fix it?

Volker
boercher
 
Posts: 638
Joined: Tue Jul 26, 2011 7:13 am

Re: Check for Updates fails with German localization

Postby fnatter » Mon Mar 18, 2013 6:56 pm

hi Volker,

this is not a bug, but the warning is confusing: FP first tries history_<language>.txt, and this fails because i.e. history_de.txt is not uploaded.
--> hence the warning
But then, history_en.txt is tried, and, according to my debugging, it works.

We should consider getting rid of this warning though.

Best Regards,
Felix
fnatter
 
Posts: 149
Joined: Mon Jan 23, 2012 5:50 pm


Return to Open Discussion

Who is online

Users browsing this forum: quinbus and 2 guests