Support » Plugin: Google Maps Gutenberg Block » If possible, please give full sentences for translation

  • Hi,

    I just had a look at the translation. You’ve got a couple of strings that probably are combined somewhere. You should allow these to be translated together, since there are languages that put things in a different order. German, for instance, usually wants to put the verb in the end of a sentence, after the objects.


    '_api_info_start' => __('Please create your API key on the', 'map-block-gutenberg'),
    '_api_info_console' => __('Google Console', 'map-block-gutenberg'),

    Creates the following strings for translation:
    “Please create your API key on the” and “Google Console”

    If possible, it would be better to use printf() and give the translator something like: “Please create your API key on the %1$sGoogle Console%2$s.”
    Oh: Even nicer: if you make the link to Google Console translatable, then I can change the hl parameter accordingly, if relevant (for instance, with hl=sv Google will serve the page in Swedish).

Viewing 1 replies (of 1 total)
  • Plugin Author WebFactory


    Hi, you’re right! Impossible to translate it like this 🙁 I’ll make sure we go over all strings for the next release.

    • This reply was modified 3 months, 3 weeks ago by  WebFactory.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.