Re: Navit - german localization causes rounding of GPS-position

2009-11-01 Thread Fox Mulder
David Garabana Barro wrote:
 O Sábado, 31 de Outubro de 2009, Christian Rüb escribiu:
 Hi,

 I had the same problem. Also bookmarks will be saved using comma instead of
  dot a separator (locale settings). As a workaround I unset LC_ALL before
  starting navit (i.e. Exec=unset LC_ALL; navit in
  /usr/share/applications/navit.desktop). That way your LANG variable keeps
  set to de_DE.UTF-8, but locale settings are not in German...

 I posted this in navit ML back in July - but no response if this is
  intended or a bug :(
 
 At least is't sure it's a known bug/feature:
 
 http://wiki.navit-
 project.org/index.php/FAQ#My_position_is_reported_incorrectly

I also use LANG=de_DE.UTF-8 and got the wrong position in navit but i
haven't set LC_ALL. So what settings/vars should i change to get navit
working in german and with correct position? :)

Ciao,
 Rainer

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit - german localization causes rounding of GPS-position

2009-11-01 Thread arne anka
 I also use LANG=de_DE.UTF-8 and got the wrong position in navit but i
 haven't set LC_ALL. So what settings/vars should i change to get navit
 working in german and with correct position? :)

what does
locale
return?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit - german localization causes rounding of GPS-position

2009-11-01 Thread Fox Mulder
arne anka wrote:
 I also use LANG=de_DE.UTF-8 and got the wrong position in navit but i
 haven't set LC_ALL. So what settings/vars should i change to get navit
 working in german and with correct position? :)
 
 what does
 locale
 return?

It returns:
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=

As i understand the problem it is that the seperator for numbers is
changed between . and , so maybe LC_NUMERIC or some other var also could
be problematic?

Ciao,
 Rainer

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit - german localization causes rounding of GPS-position

2009-11-01 Thread arne anka
 It returns:
 LANG=de_DE.UTF-8
 LC_CTYPE=de_DE.UTF-8
 LC_NUMERIC=de_DE.UTF-8
 LC_TIME=de_DE.UTF-8
 LC_COLLATE=de_DE.UTF-8
 LC_MONETARY=de_DE.UTF-8
 LC_MESSAGES=de_DE.UTF-8
 LC_PAPER=de_DE.UTF-8
 LC_NAME=de_DE.UTF-8
 LC_ADDRESS=de_DE.UTF-8
 LC_TELEPHONE=de_DE.UTF-8
 LC_MEASUREMENT=de_DE.UTF-8
 LC_IDENTIFICATION=de_DE.UTF-8
 LC_ALL=

 As i understand the problem it is that the seperator for numbers is
 changed between . and , so maybe LC_NUMERIC or some other var also could
 be problematic?

i also have a dim recollection of that kind.
i use
LANG=en_DK.UTF-8
in /etc/default/locale and have no issues whatsoever (though no german  
interface -- which i don't want either).
navit is started by script with LANG=C to avoid that annoying lock-in to  
the locales country, i never really understood what caused that design  
decision anyway (what is f'rinst a french in russia supposed to do? have  
russian as locale, being unable to read anything or having french and  
being unable to search a place in russia).

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit - german localization causes rounding of GPS-position

2009-11-01 Thread Matthias Huber

01.11.2009 14:10,   Fox Mulder :

David Garabana Barro wrote:
  

O Sábado, 31 de Outubro de 2009, Christian Rüb escribiu:


Hi,

I had the same problem. Also bookmarks will be saved using comma instead of
 dot a separator (locale settings). As a workaround I unset LC_ALL before
 starting navit (i.e. Exec=unset LC_ALL; navit in
 /usr/share/applications/navit.desktop). That way your LANG variable keeps
 set to de_DE.UTF-8, but locale settings are not in German...

I posted this in navit ML back in July - but no response if this is
 intended or a bug :(
  

At least is't sure it's a known bug/feature:

http://wiki.navit-
project.org/index.php/FAQ#My_position_is_reported_incorrectly



I also use LANG=de_DE.UTF-8 and got the wrong position in navit but i
haven't set LC_ALL. So what settings/vars should i change to get navit
working in german and with correct position? :)

  

export LC_NUMERIC=posix
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Navit - german localization causes rounding of GPS-position

2009-10-31 Thread Mirothanus

Hi everybody,

I have successfully localized my Navit to speak German I thought.

Using SHR on my FR, I have installed every necessary localization packages
(i.e. navit-locale-de and locale-base-de-de) and all speed-dispatcher
packages. To start Navit I use the navit.sh - script from the wiki.

If I use Navit in English (i.e. the main language of SHR is set to EN) or
don't use the script, everything works smoothly, the GUI is in English, my
GPS-position is found and the speech-dispatcher leads me in English to my
destination.

But if I set the SHR-Language to DE-de and use the script to start the
localized Navit, something goes terribly wrong. The GUI is in German,
alright. Spd-say seems to speak German, alright. But one thing is wrong: my
GPS-Position!

At the moment I'm at 50°5924 N 09°0104 E. But Navit thinks I am at
50°5959 N 8°5959 E. That's far-off my position! TangoGPS and other
GPS-apps report my correct position. If I change the street, for example,
nothing changes in Navit.

I guess that in the course of localization, the floating-point-number of my
position is mangled and thus reported incorrectly to Navit.

How can I solve this problem?

Yours sincerely,
Christoph
-- 
View this message in context: 
http://n2.nabble.com/Navit-german-localization-causes-rounding-of-GPS-position-tp3924154p3924154.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit - german localization causes rounding of GPS-position

2009-10-31 Thread Christian Rüb
Hi,

I had the same problem. Also bookmarks will be saved using comma instead of dot 
a separator (locale settings).
As a workaround I unset LC_ALL before starting navit (i.e. Exec=unset LC_ALL; 
navit in /usr/share/applications/navit.desktop).
That way your LANG variable keeps set to de_DE.UTF-8, but locale settings are 
not in German...

I posted this in navit ML back in July - but no response if this is intended or 
a bug :(

Cheers,
 Christian

Am Samstag, 31. Oktober 2009 schrieb Mirothanus:
 
 Hi everybody,
 
 I have successfully localized my Navit to speak German I thought.
 
 Using SHR on my FR, I have installed every necessary localization packages
 (i.e. navit-locale-de and locale-base-de-de) and all speed-dispatcher
 packages. To start Navit I use the navit.sh - script from the wiki.
 
 If I use Navit in English (i.e. the main language of SHR is set to EN) or
 don't use the script, everything works smoothly, the GUI is in English, my
 GPS-position is found and the speech-dispatcher leads me in English to my
 destination.
 
 But if I set the SHR-Language to DE-de and use the script to start the
 localized Navit, something goes terribly wrong. The GUI is in German,
 alright. Spd-say seems to speak German, alright. But one thing is wrong: my
 GPS-Position!
 
 At the moment I'm at 50°5924 N 09°0104 E. But Navit thinks I am at
 50°5959 N 8°5959 E. That's far-off my position! TangoGPS and other
 GPS-apps report my correct position. If I change the street, for example,
 nothing changes in Navit.
 
 I guess that in the course of localization, the floating-point-number of my
 position is mangled and thus reported incorrectly to Navit.
 
 How can I solve this problem?
 
 Yours sincerely,
 Christoph
 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit - german localization causes rounding of GPS-position

2009-10-31 Thread David Garabana Barro
O Sábado, 31 de Outubro de 2009, Christian Rüb escribiu:
 Hi,
 
 I had the same problem. Also bookmarks will be saved using comma instead of
  dot a separator (locale settings). As a workaround I unset LC_ALL before
  starting navit (i.e. Exec=unset LC_ALL; navit in
  /usr/share/applications/navit.desktop). That way your LANG variable keeps
  set to de_DE.UTF-8, but locale settings are not in German...
 
 I posted this in navit ML back in July - but no response if this is
  intended or a bug :(

At least is't sure it's a known bug/feature:

http://wiki.navit-
project.org/index.php/FAQ#My_position_is_reported_incorrectly

-- 
David Garabana Barro
jabber  google talk ID:da...@garabana.com
Clave pública PGP/GPG:  http://davide.garabana.com/pgp.html


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community