Hi,
I am trying to use the translate tag in xslt templates (news module), but so far no good. Is there a special trick?
I tried with < !-- string and also with <xsl:comment>. None of them seem to do the trick.
When using the xslt command, the comment was correcty rendered in HTML, but the translation was not processed, not even for the standard translate value.
Best Regards,
Nuno
Developer forum
E-mail notifications
translate tag
Posted on 13/11/2009 17:31:30
Replies
Posted on 19/11/2009 17:51:42
Did anyone take a look a this?
Best Regards,
Nuno
Posted on 24/11/2009 11:27:32
Hi Nuno
Sorry for the late reply.
Take a look in the attached file to see how translation is done in XML/XSLT.
// Sebastian
Sorry for the late reply.
Take a look in the attached file to see how translation is done in XML/XSLT.
// Sebastian
Posted on 24/11/2009 11:46:57
Hi Sebastian,
Thanks, this is a life saver. I had all of my website in xslt and was almost having to redo it in HTML.
I just find one inconvinience. If we chance the website's URL, we will also have to go through all the templates and update the xml file location. Isn't there a local path we can provide?
As for local/global translate tags, I think I can get it to work. If not I will let you know.
Best Regards,
Nuno
Thanks, this is a life saver. I had all of my website in xslt and was almost having to redo it in HTML.
I just find one inconvinience. If we chance the website's URL, we will also have to go through all the templates and update the xml file location. Isn't there a local path we can provide?
As for local/global translate tags, I think I can get it to work. If not I will let you know.
Best Regards,
Nuno
Posted on 25/11/2009 10:17:03
Hi Nuno
I've tried everything to make it work with a local path. But no luck.
// Sebastian
I've tried everything to make it work with a local path. But no luck.
// Sebastian
Posted on 25/11/2009 11:02:05
Hi Sebastian,
What about if the xml rendered some global tag with the domain? It's just a suggetion, but would do the trick.
Best Regards,
Nuno
What about if the xml rendered some global tag with the domain? It's just a suggetion, but would do the trick.
Best Regards,
Nuno
Posted on 14/01/2010 15:42:13
Have you found a way to make it work with a local path?
Posted on 14/01/2010 16:10:57
Hi,
No, I'm still hoping they make use of my suggestion. For now, updating all the templates is the only solution :S
//nuno
No, I'm still hoping they make use of my suggestion. For now, updating all the templates is the only solution :S
//nuno
You must be logged in to post in the forum