Two localized templates bug on Edge Rails

The first one is related with locales like "en-US" and "pt-BR" (having
files as and show.en-US.html.erb). Files with
such locales are not inserted in the views path.

I've created a ticket with the exact line that is causing the error
and how to fix it:

The other is related with XML HTTP Requests using localized templates.
When we have such requests, we usually fallback to html, but that
fallback does not happen in localized templates.

Again, I've created a ticket and pointed out the solution: