New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 error is not localized #2195

Closed
unarist opened this Issue Apr 20, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@unarist
Collaborator

unarist commented Apr 20, 2017

config/locales/*.yml has errors.404:

  errors:
    '404': The page you were looking for doesn't exist.
    '410': The page you were looking for doesn't exist anymore.
    '422':
      content: Security verification failed. Are you blocking cookies?
      title: Security verification failed

and there is a translation for it, e.g. ja.yml:

  errors:
    '404': お探しのページは見つかりませんでした。
    '410': お探しのページはもう存在しません。
    '422':
      content: セキュリティ認証に失敗しました。Cookieをブロックしていませんか?
      title: セキュリティ認証に失敗

However, I haven't see this translation anywhere. Accessing to non-existent URLs always show an error message in English.


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This bug happens on a tagged release and not on master (If you're a user, don't worry about this).

takp added a commit to takp/mastodon that referenced this issue Apr 21, 2017

takp added a commit to takp/mastodon that referenced this issue Apr 21, 2017

Gargron added a commit that referenced this issue Apr 21, 2017

Fix #2195 - Set locale to error pages (#2255)
* Fix #2195 - Set locale to error pages

* Fix #2195 - Cut duplicate process into one method

seefood added a commit to Toootim/mastodon that referenced this issue Apr 28, 2017

Fix tootsuite#2195 - Set locale to error pages (tootsuite#2255)
* Fix tootsuite#2195 - Set locale to error pages

* Fix tootsuite#2195 - Cut duplicate process into one method

y0t4 added a commit to y0t4/mastodon that referenced this issue Apr 29, 2017

Fix tootsuite#2195 - Set locale to error pages (tootsuite#2255)
* Fix tootsuite#2195 - Set locale to error pages

* Fix tootsuite#2195 - Cut duplicate process into one method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment