doublesecretagency / craft-googlemaps

Google Maps plugin for Craft CMS - Maps in minutes. Powered by the Google Maps API.
https://plugins.doublesecretagency.com/google-maps/
Other
10 stars 8 forks source link

Translatable field names and other labels #60

Open swissmexxa opened 1 year ago

swissmexxa commented 1 year ago

Hi

Please correct me, if I am wrong. But at the moment your plugin does not seem to support localized fields. We have a multisite craft installation with different languages (German, French, Italian). The Google Maps field would be filled out by people with one of those three languages. If i set the label for example the street1 with a translation key like cp.contact.address which is translated in my site.php translation file to Adresse, it is not showing me the translated value but the translation key cp.contact.address. It would be a nice plugin but it's not usable for multisites with different languages at the moment. Would be nice if you can support multiple languages. Localization support for other labels like show/hide map would also be a required feature.

Thanks

lindseydiloreto commented 1 year ago

Hi @swissmexxa,

This is a good feature request, I'd be happy to implement it. If I were to make the labels fully translatable, could you help me test everything out? Which language(s) are you translating everything to?

If you are available to assist in the translation process, we should connect on Discord to discuss the details.