2011-09-30, 04:25:07
Perhaps a not so bad solution would be to change the form of the translated slug to something like
index_en_TRANSLATED-SLUG
This way we just expand the current logic to include a translated string in the same variable, then splitting this string on underscore will give us all three needed vars: basic slug, language and translated slug.
I am very busy these days with two other projects, but this seems interesting to try to code.
As soon as I find some time I will try to implement this then post here for the review and evetual implementation in the official version.
index_en_TRANSLATED-SLUG
This way we just expand the current logic to include a translated string in the same variable, then splitting this string on underscore will give us all three needed vars: basic slug, language and translated slug.
I am very busy these days with two other projects, but this seems interesting to try to code.
As soon as I find some time I will try to implement this then post here for the review and evetual implementation in the official version.