coopdevs / coopdevs/timeoverflow

Locale not respected in some cases

Open
#842 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
170
Forks
75
PR merge metrics
No merged PRs in 30d

Description

I can't seem the find this text in the codebase or in the translations 🤔 I am not sure what is going on but is this something to do with the `config.i18n.fallbacks`?

https://github.com/coopdevs/timeoverflow/blob/10608592421e986d03f8531ce38ccc700af1d6c2/config/application.rb#L17

### Password reset mail

1. I choose Dutch as my locale in the admin interface
1. I import users
1. They are successfully created with the `nl-NL` locale
1. I click on "I do not remember my password" and request a password reset mail

I receive this mail using the `es` locale:

> ¡Hola X!
>
> Alguien ha solicitado un enlace para cambiar su contraseña, lo que se puede realizar a través del siguiente enlace.
>
> Cambiar mi contraseña
>
> Si usted no lo ha solicitado, por favor ignore este correo electrónico.
>
> Su contraseña no será cambiada hasta que usted acceda al enlace y cree una nueva.

Perhaps this is related to situations like https://github.com/coopdevs/timeoverflow/issues/774.

### Timebank membership management "Create user" button

Please note, I have patched in the required translations manually. Here is the PR: https://github.com/coopdevs/timeoverflow/pull/843. I hope merging this PR (or integrating the translations in the whatever way works) will officially solve this.

`/members/manage`

Image

### Rails admin

However, there are many buttons and texts which are not translated in the `/admin` aream, E.g.

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.