The issue is as follows:
- create a newsletter
- translate the newsletter (french and english, one titled "Juin 2008" ther other "June 2008")
- click send for one of the newsletters
BUG #1:
- both newsletters are received to each subscriber
- one of the two newsletter subjects reads " [Unassigned newsletter] Email Subject " (the english version)
- the other newsletter subject is correct, with the appropriate taxonomy in the [brackets]
BUG #2:
- the unsubscribe link was /fr/ (french) for both emails (despite the fact one newsletter was the french version)
Issues to resolve would be:
1. Only send 1 language version to subscribers
2. Send the language newsletter to the recipient in the language they subscribed
3. Ensure the unsubscribe link matches the language of the recipient/newsletter
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | simplenews.270082.patch | 9.57 KB | sutharsan |
Comments
Comment #1
sutharsan commentedWhich i18n submodules are involved in this case? (Internationalization, Strings, Multilingual taxonomy ?)
I am not too familiar with i18n, please guide me to re right set-up to reproduce this situation.
Comment #2
sutharsan commentedDid you translate the newsletter taxonomy terms?
Please re-test with the latest 6.x-1.x-dev. I do not expect any differences, but just to rule any out.
Comment #3
sutharsan commentedWith the attached patch node translation, taxonomy localization and path prefix for language negotiation is supported.
When nodes are translated subscribers will revieve the node in their preferred language (account setting).
Multilingual taxonomy is supported for 'Localized terms' and 'per language terms'.
Path prefixes are added to footer message according to the subscribers preferred language.
Anonymous users will receive emails in the site default language. Preferred language setting for anonymous users is not supported.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
rzgairin commentedHello,
I detected a problem (bug?)
Situation:
two nodes S for spanish readers and C for catalan readers.
node S is assigned a spanish language, node C is assigned to catalan language.
node S assigned to a taxonomy term TAX-S and node C assigned to taxonomy term TAX-C
in this situation anonymous user can subscribe to TAX-C and receive node C (catalan node) and user subscribe TAX-S receives spanish node. This situation is ok but ....
language switcher dropdown (or "alternador de idioma") not works properly because node S is not marked as "translation" of node C. So if I assign node S as translation of node C (or viceversa) language dropdown works properly. This scenario is correct but not simplenews:
Anonymous users will receive emails in the site default language (catalan). No language node is checked and spanish readers (subscribed to TAX-S) received a mail with title in catalan and preceded with TAX-S !!! but contents is node C (in catalan).
Thanks in advance.
Comment #6
simon georges commented@rzgairin, what version of Simplenews are you using ? A lot of improvements have been made regarding multilingual newsletter in 6.x-2.x, please use the last version (a alpha2 has been released this morning).
Comment #7
rzgairin commentedThis morning :-) !
Well, I'm using 6x-2x-Alpha1. I downloaded now alpha2 and the problem persists :-(
Thanks in advance.
Comment #8
simon georges commentedOk, so, currently:
- there's no way to have anonymous user choose their language, unless you have two separate newsletters (and two taxonomy terms).
- the term used is always the term of the node in the default language, that's why every translation should have the same term.
So, in your case, if you want everything to go smoothly with the translation, there is an issue with anonymous subscribers... Although, you are able (as administrator) to change their preferred language with the UI at admin/content/simplenews/users. I think there is currently no way to achieve what you want to do directly... It was a voluntary decision not to display the language on the subscription form, to keep it as clean as possible...
You may eventually post a support request about it, but I can't promise you any quick implementation. I hope I have still been of some assistance.
Comment #9
rzgairin commentedOk.
Thank you very much for your support. I will try to find some alternative solution. I am currently sending the newsletter before assigning the translation and works well.
"there's no way to have anonymous user choose their language, unless you have two separate newsletters (and two taxonomy terms)."
Yes, I have two taxonomy terms, nodes in spanish have TAX-S and nodes in catalan have TAX-C. So, subscribers to TAX-S only receives spanish nodes, this works if nodes are not linked as "translation of"
"the term used is always the term of the node in the default language, that's why every translation should have the same term."
Umm... I think that it's the problem. This is valid if node have same terms, but if node is in a specific language (spanish) and have a taxonomy term not assigned to their translation, I think the newsletter should be sent in spanish although the default language is the catalan. Two terms, one for each language, is the only way I found to have anonymous subscribers in both languages.
thanks !