2012-05-10, 17:31:08
(This post was last modified: 2012-05-10, 19:44:28 by freshdeskp.)
I'm trying to solve problem with CKEditor. And I have one more question.
If I know page slug and page parent, how can I get correct link to my page, that use fancy URL.
E.g. page slug is 'page_en', how can I get '/en/page', if I know only page slug and don't know its actual language?
Other examples,
permalink: %nondefaultlanguage%/%parent%/%slug%/ , default language 'ru'
index -> /
index_en -> /en
test -> /test
test_en -> /en/test
parent+test2 -> /parent/test2
parent_en+test2_en -> /en/parent/test2
Is it possible with find_i18n_url?
If I know page slug and page parent, how can I get correct link to my page, that use fancy URL.
E.g. page slug is 'page_en', how can I get '/en/page', if I know only page slug and don't know its actual language?
Other examples,
permalink: %nondefaultlanguage%/%parent%/%slug%/ , default language 'ru'
index -> /
index_en -> /en
test -> /test
test_en -> /en/test
parent+test2 -> /parent/test2
parent_en+test2_en -> /en/parent/test2
Is it possible with find_i18n_url?