Observation page / Broken link to login page

This link is broken:

https://www.inaturalist.org/log_in

2 Likes

Could you please include more details? Is this the link broken on all observations? What browser? etc.

1 Like

It is broken on all observations.

I tried with 3 observations, for instance:
https://www.inaturalist.org/observations/66139768

It is broken with these browsers:

  • Google Chrome 87.0.4280.88
  • Mozilla Firefox 83.0
  • Microsoft Edge 87.0.664.55
2 Likes

interesting. for some languages, the link to the login page seems to be directed to /log_in instead of /login, and the link to the signup page seems to be directed to /sign_up instead of /signup.

here’s a snippet of setup for French (https://github.com/inaturalist/inaturalist/blob/main/config/locales/fr.yml#L2013-L2016):

  log_in_or_sign_up_to_add_comments_html: |
    <a href="/log_in">Connectez-vous</a> ou <a href="/sign_up">inscrivez-vous</a> pour ajouter des commentaires.
  log_in_or_sign_up_to_add_identifications_html: |
    <a href="/log_in">Connectez-vous</a> ou <a href="/sign_up">inscrivez-vous</a> pour ajouter des identifications.

compare that to English (https://github.com/inaturalist/inaturalist/blob/main/config/locales/en.yml#L2167-L2170):

  log_in_or_sign_up_to_add_comments_html: |
    <a href="/login">Log in</a> or <a href="/signup">sign up</a> to add comments.
  log_in_or_sign_up_to_add_identifications_html: |
    <a href="/login">Log in</a> or <a href="/signup">sign up</a> to add identifications.
1 Like

Thanks a lot for investigating this bug!

BTW, it’s not the only software issue related to languages, see also this analysis:
https://forum.inaturalist.org/t/places-selecting-china-ends-up-in-hk/18334/9

2 Likes

Thanks, I reopened this issue: https://github.com/inaturalist/inaturalist/issues/2735