Fallback layout mechanism

I am doing a multi-lingual website which might have several layout
pages (language dependent)available. I want to do a mechanism to fall
back from one language to another default language if such layout file
is missing. Any chance I can do an is_exist check on the layout? With
my current code I really want to just check it instead of catching a
MissingTemplate error.

as no one replied so far so I try to reply to keep this post up, hope
somebody will know the answer

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs