Title: Avoid concatenating substrings
Last modified: June 10, 2018

---

# Avoid concatenating substrings

 *  ResolvedModerator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/avoid-concatenating-substrings-3/)
 * Hi,
    I just worked a bit on the Swedish translation of this plugin. A language
   pack would had been generated if at least 95% of the strings were translated,
   but I stopped before that, once I noticed that you’re concatenating substrings.
   One example is “Careful to use the British spelling of” “for the attribute.” 
   In this case it would have been much, much better to use the full phrase: `"Careful
   to use the British spelling of <em>colour</em> for the attribute."` (Don’t be
   afraid to include a couple of simple html tags in a string.)
 * You see: most languages have a different structure than English, and there’s 
   no guarantee that the translated substrings will form a valid sentence if you
   glue them together. You may need to use different forms for various words, depending
   on what is in a different part of a sentence, and so on. (The form of adjective
   or verb may vary, depending on if it’s referring to a post, a page or a button,
   for instance.)
 * Read more: [http://ottopress.com/2012/internationalization-youre-probably-doing-it-wrong/](http://ottopress.com/2012/internationalization-youre-probably-doing-it-wrong/)

Viewing 1 replies (of 1 total)

 *  [Mark](https://wordpress.org/support/users/markwt/)
 * (@markwt)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/avoid-concatenating-substrings-3/#post-10386017)
 * Hi [@tobifjellner](https://wordpress.org/support/users/tobifjellner/),
 * We have taken a note of this issue and we will resolve this in the coming version
   of the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Avoid concatenating substrings’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mark](https://wordpress.org/support/users/markwt/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/avoid-concatenating-substrings-3/#post-10386017)
 * Status: resolved