I've installed the module but I'm confused about how to translate messages. I have an existing multilingual site (using both i18n and entity translation) that I am trying to migrate from the heartbeat module to message.
I have installed the module and set the **Field language** to English, which is the default language of the site. I would now like to translate the messages into other languages. I want to translate the text of the message itself, which looks like this:
[message:user:name] just logged in.
However, when I went to the translate strings screen (/admin/config/regional/translate), my search for the string returned no results. I didn't see any translate links on the config pages, either.
I found a couple other threads (here and here) which suggest that message definitely has i18n support, but I'm sorry to say I haven't been able to find it. I also checked the README but there was no mention of i18n integration.
Any help would be much appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | message-english.png | 78.79 KB | roysegall |
| #1 | message-hebrew.png | 78.55 KB | roysegall |
Comments
Comment #1
roysegall commentedAfter enabling the locale module(which is already enabled due to your i18n on your site) you can go to the message type it self. In the edit page of the message you'll have a select list for with the languages in your sites. When switching between them, the input message will change with AJAX.
I'm attaching screen shot for a better understanding of what i wrote:
Comment #2
ptmkenny commentedThank you, I was able to translate the text thanks to your help!
Comment #3
ignaciolflores commentedFirst of all, thanks for the answer. It saved my day.
But now I have a problem, how can you export and import this translations automatically?, how can you reuse this translations in another site?