Mountain View 1600, CA 94043
+1 650-253-0000
name@example.com
Web
Site
Search
Register
Login
DNN Home
Services
-
DotNetNuke Support
-
CRM Systems
DNN
-
DotNetNuke Modules
-
Module Downloads
-
Module Upgrade Policy
DNN Support
-
Module Update News
-
Knowledge Base
-
License Management
-
Invoice History
Module Downloads
Blog
Store
Contact Us
-
About Us
Search
Home
1
2
3
4
5
Home
Support
Bulk Emailer
localization of [unsubscribe-here]
Previous
Next
2/18/2010 11:12 PM
Rüdiger
Joined: 2/11/2010
Posts: 1
localization of [unsubscribe-here]
(Germany)
Where can i localize the text "here" for the unsubscribe-here token to the german word "hier".
3/2/2010 7:39 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
Actually it already supports [unsubscribe-anything] so you can put unsubscribe-hier and it will work fine.
7/28/2010 7:08 PM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
There is a problem with this pattern when using .doc or .mht messages.
If the text of "here" is in right-to-left language then the localized word for "here" is broken into additional HTML tag/s -
nothing is renderd since the [unsubscribe-XXX] tag is broken into several HTML tags.
I would suggest another pattern [unsubscribe] (without-XXX) and the content of XXX will be taken from the module's
SharedResources.resx
localization file.
i.e: "Unsubscibe.Text" key.
7/29/2010 9:30 PM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
I would like to refine my suggestion to :
[unsubscribe:en-au]
Since the schedualed task has no language context - the [unsubscribe] token must contain the language info.
The content of the will be taken from SharedResoureces.en-au.resx
7/29/2010 11:03 PM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
But how would you define which language to use for each email address?
7/29/2010 11:11 PM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
The language is defined inside the [unsubscibe...] token in the message.
Currently the "here" is taken from [unsubscribe-here].
I suggest to take it from the resource file.
The language is defined in a similar way inside [unsubscribe:EN-AU]
7/29/2010 11:19 PM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
Sure,
But if I send an email to 10,000 there will be a range of languages among the recipients. So what language would I write down in that situation?
7/30/2010 12:01 AM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
I don't care about the recipient's language.
I write a messege in ZULU language - so the "here" will be in ZULU.
The token is per message - not per user.
7/30/2010 2:51 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
Now I get you...
Good news.. You can already put any word you like in place of the -here
Give it a try... we did think of that one!
8/8/2010 5:28 PM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
I already know about the existing method.
The problem is with NONE english/french/... languages.
When writing in right-to-left language in ms-word - the stream of characters is broken into several tags - so it will not match the [unsubscibe-...] pattern.
It will look like: <span>[unsubsribe-</span><span dir='rtl'>KKK</span><span>]</span>.
Is it clear now ?
8/11/2010 3:00 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
We feel dumb, but we cannot understand why it would not work. From what we see and test, it should be fine.
Can you provide us with a site login (using our contact us form) to provide host login, and a sample email message with the code that does not work.
All we can think of is that the HTML has a line break etc in the code. This is not permitted.
8/11/2010 3:17 AM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
Please try the sending following MHT file:
www.kavana.co.il/message.mht
The [unsubscibe-xxx] is at the bottom left corner.
It was edited using MS-WORD.
If you open it in a text editor you will see the broken [unsubscribe] token
This behaviour (of MS-WORD) is by design and not my wrong typing.
8/11/2010 3:24 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
Can you get a blank MS word document with not text formatting.
Then type just the unsubscribe token into the document, ensuring that you have no MS word formatting of text.
Then try sending that. Let us know if it works. I am suspecting that the formatting of the text is mucking this one up.
8/11/2010 3:39 AM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
There is something that you are missing.
In order to write text in none LTR language I have to change the writing direction to RTL in word.
The changing of the language/writing direction inserts the additional formating info.
There is NO clean option as you suggest.
In pure HTML it works fine. I can put a dir='rtl' attribute and all is OK.
It not the same in MHT.
This is the reasone I started this thread.
8/11/2010 3:50 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
Not certain then that we are going to be able to help you. The obvious solution would be.
1. Use HTML
2. Manually edit the word mthml to remove the incorrect text.
3. Don't format it right to left, but leave that one line in the MS word default.
4. If point 4 works, then try it with a right justify.
8/11/2010 3:57 AM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
1. Using MHT gives me the option to have templates. This option is missing in the module.
2. This is not an option for my end user.
3. It is not possible when writting RTL in WORD.
The is a 5th option:
To put the localized word/s inside the RESX file and specify the language as I suggested like
[unsubscribe:he-IL]
This will solve the problem for all RTL languages and is very easy to implement.
8/11/2010 4:06 AM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
I came up with another idea:
www.kavana.co.il/unsubscribe.mht
The token has only [unsubscribe] that will be translated my the module to the url.
The MHT contains a link with the localized text and the address is [unsubscribe]
The is no need for RESX files etc...
8/11/2010 4:02 PM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
Glad you worked out a solution that works for you.
8/11/2010 8:07 PM
moshefi
Joined: 9/16/2009
Posts: 13
Re: localization of [unsubscribe-here]
(Israel)
I did not say it worked. I suggested a solution.
Currently your module generated a link with a caption of "here" and a href to the modules URL.
My suggestion is that if there is no "-here" inside to [unsubscibe] token your module will only generate the URL - without the wrapping <a href...> tag.
This way I can create a link with any caption and get the href from the token [unscubscribe].
I hope you understand my suggestion now.
8/18/2010 12:10 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: localization of [unsubscribe-here]
(Australia)
We have done some more research, and believe that the error should only be there when using either MHTML or HTML created in word.
We suggest using correctly formatted HTML to resolve this issue.
Page 1 of 2
1
2
Next
Previous
Next
Home
Support
Bulk Emailer
localization of [unsubscribe-here]