Support » Plugin: Out of the Block: OpenStreetMap » I18n of concatenated strings

  • Resolved Filip Bengtsson

    (@automcoding)


    The string 'plugin settings' is used twice in /dist/blocks.build.js and concatenated into strings. As the context is slightly different, it is near impossible to translate correctly. The context is also not clear to a translator who don’t know how to interpret the js code.

    I would recommend that you redefine the two strings 'Heavy usage of OSM tiles is forbidden and you might want to switch to a different tile provider. Read more on the plugin settings.' and 'Make sure that you provided a valid API key on the plugin settings.', and insert the rest of the link using template literals or something.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Filip Bengtsson

    (@automcoding)

    I now saw that the strings 'Enabled.' and 'Disabled.' are used multiple times in that same file. Please provide context for the function it relates to (like map dragging, touch zoom etc).

    Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    Hello and thank you for reporting this.

    With version 1.3.5 of the plugin, the translations have been updated based on your suggestions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I18n of concatenated strings’ is closed to new replies.