0

I have enabled the "locale" and "content translation" modules. Also I have two languages in my Drupal, Spanish and English, after that I have configured the detention method by URL.

I have finished my English page and I just need to translate the website to Spanish. When I set the language switcher to the website (the header or a columns) of my Structure I don't see anything. I can click on "translate" button of the blocks of my web, I see the "spanish" option, I click in "translate", but I get this message:

This string uses the Full HTML text format. Strings with this format are not allowed for translation.

Ok, I change the format to Plain Text but I lost my HTML format, styles... I can't translate and I can't see the switcher to change to Spanish or English.

Drupal version 7.4.

1
  • FYI: 7.4 is not the last ... Commented Mar 9, 2016 at 13:05

1 Answer 1

1

To translate custom block text you need to do the following:

  1. Download the Internationalisation module (i18n)
  2. Enable String translation module (i18n_string)
  3. Go to Configuration > Regional & Language > Multilingual Settings > Strings (admin/config/regional/i18n/strings)
  4. Enable Full HTML in Translatable text formats
  5. Save
3
  • oh, this is great !, but I need to set the switcher to my website to allow the user choose the language... also, when I traslate a text, how I get the url to my new languages? I pulse "traslate" I change the text but I don´t see the new page. Commented Mar 9, 2016 at 13:02
  • I think you have a few different issues here. To make it easier for people to help you try to break down your question into a clear step-by-step description of what you are doing.
    – Peacog
    Commented Mar 9, 2016 at 14:18
  • There is a good tutorial here for setting up a multilingual site with Content Translation (as opposed to Entity Translation, which is an alternative way to translate nodes)
    – Peacog
    Commented Mar 9, 2016 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.