<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello Lubomir,<br>
<br>
<div class="moz-cite-prefix">Am 15.10.2017 um 21:32 schrieb Lubomir
I. Ivanov:<br>
</div>
<blockquote type="cite"
cite="mid:CAGDbWi-ouk7TTpdYNuT6jXwtN52T+gFETCoL0BOjinbKiX4cdw@mail.gmail.com"><br>
<br>
<blockquote type="cite">
<pre wrap="">During testing I also recognized s.th. else around this "Reverse GPS lookup"
to retrieve the country name from the GPS position:
Windows:
Function works in general but returns the country name in English language
(while I run Subsurface in German).
I'm really surprised because I thought this already worked for me returning
German country names.
</pre>
</blockquote>
<pre wrap="">
that's a separate issue.
core/divesitehelpers.cpp
ReverseGeoLookupThread::run()
has supported languages for a while but i have only seen this in english
if you have started getting the lack of translations just now it could
be an issue with the 3rd party providers.
</pre>
</blockquote>
I currently try to fix this. Maybe the syntax of the provider
changed:<br>
<a class="moz-txt-link-freetext" href="http://www.geonames.org/export/JSON-webservices.html">http://www.geonames.org/export/JSON-webservices.html</a><br>
<br>
It seems to be now "lang=de" what we need and currently we pass
"language=de_DE".<br>
Changing the "language" to "lang" is a no-brainer but how can I
teach the uiLanguage() function to return the short language string?
Or shall I simply truncate it?<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CAGDbWi-ouk7TTpdYNuT6jXwtN52T+gFETCoL0BOjinbKiX4cdw@mail.gmail.com">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Linux:
This function is still grayed out after moving the marker. This may be
linked to the general issue of moving the marker. If I copy&paste
coordinates then the button gets active and returns again English names like
under Windows.
</pre>
</blockquote>
<pre wrap="">
the reverse-lookup button being grayed out for new dive sites, is also
a separate issue.
i can confirm that.
</pre>
</blockquote>
I think I easily fixed this. Will send a PR...<br>
<br>
Best regards<br>
Stefan<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
<meta name="CREATED" content="0;0">
<meta name="CHANGEDBY" content="Stefan Fuchs">
<meta name="CHANGED" content="20120503;23115492">
<style type="text/css">
<!--
P { color: #000000 }
-->
</style>
<p>Stefan Fuchs<br>
E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
</div>
</body>
</html>