Bug 147921

Summary: gps widget in French please
Product: [Applications] digikam Reporter: Philippe ROUBACH <philippe.roubach>
Component: Geolocation-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, languitar, mike
Priority: NOR    
Version: 3.5.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.0.0
Sentry Crash Report:
Attachments: digikam menu
edit coordinate

Description Philippe ROUBACH 2007-07-16 15:42:49 UTC
Version:           0.9.1 (using KDE 3.5.6, compiled sources)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.17-14mdv

in the geolocalization plugin all is in french :

- comments
- the "more info" feature which launches english mapquest,googlemaps etc.

it would be a good thing to have a french localization of this plugin.

thank you to developper
this plugin is very exciting !
Comment 1 caulier.gilles 2007-07-16 16:30:16 UTC
Philippe,

This tool is a kipi-plugin. This is a problem with your installation. French Translations are normally included.

If not all strings are not yet translated, well contribute to finalize it...

It's a non developper task. 

Gilles Caulier 

Note: i'm French Guy and an old French KDE translator (:==)))

Comment 2 Philippe ROUBACH 2007-07-16 16:59:51 UTC
you read to much fast.

this not also a french language pb but a french localization for

requesting french mapquest, google maps etc. instead of english mapquest,googlemaps etc.
Comment 3 Fabien 2007-07-16 18:28:34 UTC
Ok, I understand. It's not the gpssync kipi-plugin which I fully translated in french, but the links that digikam creates in its gps sidebar...

Ok, I confirm the problem, I already saw it.

It's in gpswidget.cpp, eg for google maps :

      case GoogleMaps:
        {
            url.append("http://maps.google.com/?q=");
            url.append(val.setNum(d->map->getLatitude(), 'g', 12));
            url.append(",");
            url.append(val.setNum(d->map->getLongitude(), 'g', 12));
            url.append("&spn=0.05,0.05&t=h&om=1&hl=en");


==> hl=en
If you put fr, it will be in french.
Comment 4 Philippe ROUBACH 2007-07-16 19:09:14 UTC
and i assume fr instead of com in maps.google.com ?
Comment 5 Philippe ROUBACH 2007-07-16 19:30:18 UTC
Created attachment 21164 [details]
digikam menu
Comment 6 Philippe ROUBACH 2007-07-16 19:31:08 UTC
Created attachment 21165 [details]
edit coordinate
Comment 7 Mikolaj Machowski 2007-07-16 22:04:18 UTC
> 19:09 ------- and i assume fr instead of com in maps.google.com ?

Yes. But this is not general approach. To make everyone happy this
plugin should keep database of country coordinates (or use .po file for
that), detect locale and use it appropriately.
Comment 8 caulier.gilles 2007-07-16 22:38:53 UTC
ok, i re-open this file.

Gilles
Comment 9 Angelo Naselli 2007-07-16 22:48:37 UTC
Gilles, Philippe has opened a bug against mandriva as well.
http://qa.mandriva.com/show_bug.cgi?id=31935
The mandriva version is kipi-plugins 0.1.3-2
and i found there is no french po files for gpsync there.
0.1.4 has it instead.
Comment 10 caulier.gilles 2007-07-16 23:03:42 UTC
Angelo,

This question is more dedicaced to Fabien, who is the official French translator. He can give you the current status of translations...

Gilles
Comment 11 Angelo Naselli 2007-07-16 23:19:38 UTC
Gilles, what i wanted to say is to ask to reporter if
he's using last version of kipi-plugins or not and if,
the evaluate what is wrongly translated/localized....

cheers,
	Angelo
Comment 12 caulier.gilles 2007-07-16 23:22:53 UTC
Ah, well, give me an aspirin, i'm tired (:=)))

Gilles
Comment 13 Fabien 2007-10-04 10:11:03 UTC
This bug is part of the GPS widget inside digiKam and it's not related to the GPSSync kipi-plugin...
Bug title is incorrect.
Comment 14 Philippe ROUBACH 2007-10-04 10:47:53 UTC
today i use :
MDV 2007.1
kde 3.5.7
digikam 0.9.2 final
kipi 0.1.5

All texte are in French. there is no more pb
it remains the french localization of googlemaps,mapquest etc.
it's a pity that sites has no sniffer to detect the language of my web explorer
according to route to french version.

to Fabien : what title do you suggest and do all the technies agree. If yes give me the title then i will change it
Comment 15 Philippe ROUBACH 2009-03-18 17:32:57 UTC
Mandriva 2009.1rc1

digikam 0.10.0

pb still there
Comment 16 Michael G. Hansen 2009-12-05 17:22:47 UTC
SVN commit 1059043 by mghansen:

Make it possible to adjust the language of Google Maps to the user's language if supported by Google Maps.

CCBUG: 147921



 M  +24 -18    getlonlat.php  
 M  +9 -4      getlonlatalt.php  
 M  +7 -0      gpsmapwidget.cpp  
 M  +7 -0      gpstracklistwidget.cpp  
 M  +9 -3      tracklistedit.php  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1059043
Comment 17 Michael G. Hansen 2009-12-05 17:24:47 UTC
The embedded Google Maps can now be translated to the languages given by [1]. This does not change anything for the links for the GPS tab in Digikam.

Michael

[1] http://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1
Comment 18 Philippe ROUBACH 2009-12-06 10:35:29 UTC
1. thanks

i assume this is for kipi-plugins 0.10 ?


2. 
digikam 1.0.0rc
kipi-plugins 0.9
i confirm the geolocator tool in the right panel is still all in english since my first comment (description) !

all info bubles , all menus, all options are in english

i can help to translate in french if you want
Comment 19 Johannes Wienke 2009-12-06 11:32:31 UTC
(In reply to comment #18)
> i confirm the geolocator tool in the right panel is still all in english since
> my first comment (description) !
> 
> all info bubles , all menus, all options are in english
> 
> i can help to translate in french if you want

Translation is done is done by the translation team. Have a look at their website if you want to help: http://l10n.kde.org/
Comment 20 Philippe ROUBACH 2009-12-07 09:36:10 UTC
i read translation doc

i found there are 2 po files a digikam one and a kipi-plugins one
in not any one there is something about gps widget.

Is there another po file ?

thanks
Comment 21 caulier.gilles 2009-12-07 09:55:17 UTC
File is there :

http://websvn.kde.org/trunk/l10n-kde4/fr/messages/extragear-graphics/kipiplugin_gpssync.po?view=log

Gilles Caulier
Comment 22 Philippe ROUBACH 2009-12-07 10:28:53 UTC
1. are you sure this is the good file

i want to translate not gpssync but the geolocator in the right panel of digikam
what i call gps widget 


2.

when openig this file
i have an error :

Error opening the file /home/roubach/Documents/kipiplugin_gpssync.po, line: 11
Comment 23 caulier.gilles 2009-12-07 12:05:24 UTC
Right.

The file is digikam.po in this case.

Gilles
Comment 24 Michael G. Hansen 2009-12-12 20:28:44 UTC
SVN commit 1061712 by mghansen:

Remove language code from link to Google Maps, this way the language will be detected in the browser.

CCBUG: 147921



 M  +1 -1      imagepropertiesgpstab.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1061712
Comment 25 Michael G. Hansen 2009-12-12 20:31:51 UTC
Language auto-detection works with (tested with French):
- Google Maps
- Openstreetmap

It does not work with:
- MapQuest
- MSN Maps
- MultiMap

If there is a desire for other languages for those services, someone would have to find out the URI for those languages and we can add them using i18n - but we are in string freeze, so we would have to wait until after 1.0.

Michael
Comment 26 Philippe ROUBACH 2009-12-12 20:36:26 UTC
thanks
Comment 27 caulier.gilles 2011-12-22 13:21:08 UTC
Philippe,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 28 Philippe ROUBACH 2011-12-22 14:08:07 UTC
digikam 1.9.0

1. in gps widget
Language auto-detection works with (tested with French):
- Google Maps
- Openstreetmap
- MSN Maps
- MultiMap (today this is bing)

It does not work with:
- MapQuest

all info bubles , all menus, all options are in french
2. in gps kipi plugin

all is in french

sorry don't know about 2.4
Comment 29 caulier.gilles 2011-12-22 15:15:38 UTC
Philippe,

It's time to update to 2.4.1 urgently now (:=))) ...

Gilles Caulier
Comment 30 Philippe ROUBACH 2014-01-11 16:05:20 UTC
opensuse 13.1 , kde 4.12 , digikam 3.5

still valid

note : thisreport is not about gpssync but gps widget
Comment 31 caulier.gilles 2014-01-11 16:08:37 UTC
In both GPS widget is used.

I see some fixed in shared libs managed by digiKam including translations catalog rules. I think this problem will disappear with next 4.0.0 release...

Gilles Caulier
Comment 32 Philippe ROUBACH 2014-01-11 16:11:11 UTC
aacurerately this is the info-bulles (in english ?) which pop up when overing little icons that are in english instead of french and the menues of gps widget
Comment 33 caulier.gilles 2014-01-12 16:42:11 UTC
This file must be fixed by this commit :

https://projects.kde.org/projects/extragear/libs/libkgeomap/repository/revisions/93ad48b6d13d36c3ddd30a1720ee98abe3b679a2

Gilles Caulier