I'm trying to do a weird thing:
In a web with I18n I pretend to print the slug of current page.
ModelName.friendly.find(params[:id]).slug.to_s
It works, it renders not only the slug but any column I want.
But I need to print also the slug of each language in the same page.
What I pretend is to repeat 3 times that line of code, how can I set different locale for each line? in order to to get something like this:
- Native slug
- Native translated slug 1
- Native translated slug 2