<![CDATA[ Problems with Babel - My Forums]]> https://forums.modx.com/thread/?thread=70863 <![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel?page=2#dis-post-485330 thank you very much, I must admit i don't understand everything with babel.... and there is not so much things to read about how it works...

Thanks again, have nice holidays !]]>
troubadour Dec 16, 2013, 10:26 AM https://forums.modx.com/thread/70863/problems-with-babel?page=2#dis-post-485330
<![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel?page=2#dis-post-485329 Quote from: troubadour at Dec 16, 2013, 10:04 AM
Hi Fbloom!

i tried your answer, but it does only work in the other languages, not in the main language (web context)...

<a href="[[~[[BabelTranslation? &resourceId=`425` &contextKey=`[[++cultureKey]]`]]]]">Link</a>


has someone got a clue ?

Hi Troubadour,

sorry, this version of syntax is not working anymore try this:

<a href="[[~[[BabelTranslation? &resourceId=`1` &contextKey=`[[*context_key]]`]]]]">link</a>


Of course fill in your desired resourceID.

Let me know if this is working for you.

Cheers !]]>
fbloom Dec 16, 2013, 10:21 AM https://forums.modx.com/thread/70863/problems-with-babel?page=2#dis-post-485329
<![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel?page=2#dis-post-485324
i tried your answer, but it does only work in the other languages, not in the main language (web context)...

<a href="[[~[[BabelTranslation? &resourceId=`425` &contextKey=`[[++cultureKey]]`]]]]">Link</a>


has someone got a clue ?]]>
troubadour Dec 16, 2013, 10:04 AM https://forums.modx.com/thread/70863/problems-with-babel?page=2#dis-post-485324
<![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel#dis-post-407344
example:

<a href="[[~[[BabelTranslation? &resourceId=`3` &contextKey=`[[++cultureKey]]`]]]]">Link</a>

This will point you to right resource.
Little too late but better than nothing smiley]]>
fbloom Jan 13, 2012, 10:08 AM https://forums.modx.com/thread/70863/problems-with-babel#dis-post-407344
<![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel#dis-post-398622 lazylegs Nov 01, 2011, 01:19 AM https://forums.modx.com/thread/70863/problems-with-babel#dis-post-398622 <![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel#dis-post-398434
I didn't find a solution, if you solve it let me know please.]]>
juanmardila Oct 29, 2011, 05:21 AM https://forums.modx.com/thread/70863/problems-with-babel#dis-post-398434
<![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel#dis-post-398328
I have the same problems with writing links on different contexts using babel and Babel.BabelTranslation. Juan, did you find a solution for your problem?

Saludos
]]>
hvillega Oct 28, 2011, 04:24 AM https://forums.modx.com/thread/70863/problems-with-babel#dis-post-398328
<![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel#dis-post-396382
I only need how to write links within the context i'm navigating.

Example:
If i'm in spanish (default) and i write [[~1]] it should go to http://www.apaca.com.ve/nosotros.html
If i'm in english context and i write [[~1]] it should go to http://www.apaca.com.ve/en/nosotros.html

Thanks for your help.]]>
juanmardila Oct 10, 2011, 06:49 AM https://forums.modx.com/thread/70863/problems-with-babel#dis-post-396382
<![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel#dis-post-396250 ]]> juanmardila Oct 07, 2011, 12:06 PM https://forums.modx.com/thread/70863/problems-with-babel#dis-post-396250 <![CDATA[Re: Problems with Babel]]> https://forums.modx.com/thread/70863/problems-with-babel#dis-post-396248
Hopefully someone else can point you in the right direction for that.]]>
AMDbuilder Oct 07, 2011, 12:02 PM https://forums.modx.com/thread/70863/problems-with-babel#dis-post-396248