Skip to content
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

I didn't find the "Choose" string in weblate or in the UI that is used in the dropdown menus to select an option in a form #962

Open
virgile-dev opened this issue May 1, 2024 · 3 comments
Labels
good first issue Good for newcomers

Comments

@virgile-dev
Copy link

Here is a screenshot to illustrate
choose

As you might understand I need my whole form to be in french.

Thanks in advance for your help.

@paulfitz
Copy link
Member

paulfitz commented May 1, 2024

I think this changed to become Select... and have some new capabilities, but still isn't marked for translation:
4186819#diff-37f3498756ae29370a997e8bce99e8b3b92c7655f59165fc9815ff4982f553acR298

@georgegevoian would it be possible to mark this part of the UI for translation? Is it just a case of wrapping it in t()?

@georgegevoian
Copy link
Contributor

georgegevoian commented May 1, 2024

@paul yes.

I don't believe there's a way to enforce what language all visitors will see on a form @virgile-dev. Currently, it auto-detects the language based on factors like whether the visitor is signed in to Grist (and has specified their preferred language) or the visitor's browser language settings. Is that sufficient for you needs? If not, we'll need to add an option to specify the language somewhere (e.g. URL parameter).

@virgile-dev
Copy link
Author

To start with I'd be happy to translate the string once it's available on weblate.
Then, I guess it would be interesting to be able ton enforce a language by passing it as url variable.
These form are being used to collect answers from citizen by a public institution that will have its own grist instance.

@paulfitz paulfitz added the good first issue Good for newcomers label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants