3

Anyone know if there is a way to get the default (original) template-group/template segments from a Transcribe translated URL?

Example: If the default language URL for a template-group is "example.com/en/news/" and the translated one for spanish is "examples/es/noticias/", is there some way of getting the original {segment_2} var ("news") if we are viewing the spanish version (where {segment_2} is "noticias")?

2

As long as the template translations are all in place in the module, the default behavior of the segment_x variables should be to default back to their native ExpressionEngine template group / template names as defined in the template manager.

In the next version of Transcribe we're also introducing several additional early parse order variables such as {transcribe:segment_1} which will be populated with the url segment shown in the browser.

| improve this answer | |
  • Hi Tom, any progress on this next release with early parse vars. We're using Transcribe on a 6-lang site and it's rather frustrating. – Paul Feb 12 '14 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.