Skip to content
New issue

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

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

Already on GitHub? # to your account

OS language not applied #340

Closed
pled opened this issue Jun 3, 2021 · 6 comments · Fixed by #345
Closed

OS language not applied #340

pled opened this issue Jun 3, 2021 · 6 comments · Fixed by #345

Comments

@pled
Copy link

pled commented Jun 3, 2021

After installing gourmet-c3ece056.flatpakon Ubuntu 20.04 with locales set to FR, Gourmet menus are still in English.

Steps to Reproduce

  1. install gourmet-c3ece056.flatpak on Ubuntu 20.04 FR
  2. run Gourmet
  3. menus are in English language

Expected Behavior

Menus should be in French

Current OS settings

$ locale
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

### Database
I was previously running Gourmet 0.17 (deb package). I uninstalled it.
After installing new gourmet-c3ece056.flatpak, all recipes were automatically filled in that new version (no import needed).

Environment

  • Operating System: Ubuntu 20.04.2 LTS
  • Version or commit id: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
  • Installed as Flatpak or Python package?: Flatpak
@cydanil
Copy link
Collaborator

cydanil commented Jun 13, 2021

Salut,
thanks for reporting the issue!
I remember that it was further investigated in thinkle#1017, where the problem is nicely described.
I will look into resolving it.
It's not going to be immediate, though, but should be fixed in 2 releases from now.

@pled
Copy link
Author

pled commented Jun 14, 2021

Thanks Cyril, you may close this one or set as duplicate. Sorry I missed thinkle#1017.

@cydanil
Copy link
Collaborator

cydanil commented Jun 19, 2021

Hi,
I'm slowly making progress with this the localization.

I see that few fields are translated:
image

Would you expect more of the application to be in French?
I'm asking in order to figure out how much of the internationalization is broken.

@pled
Copy link
Author

pled commented Jun 20, 2021

Hi Cyril,
Honestly, I would expect every field to be translated... in a perfect world ! ;)
Now, this does not prevent me to use Gourmet, even with all fields in English.
So it depends I suppose on how long it would take to repare the internationalization.
Up to you to decide, it is already so nice to have Gourmet with Python 3 running ! Thank you and all the people involved for that.
I cannot help in dev, but if you need someone to test or help, let me know.
Thank you.

@cydanil
Copy link
Collaborator

cydanil commented Jun 20, 2021

Thanks for the feedback, I'm now able to run the application in different locales:

image

@cydanil cydanil mentioned this issue Jun 20, 2021
6 tasks
@cydanil
Copy link
Collaborator

cydanil commented Jun 29, 2021

This is at last fixed!
I'll be creating a new release in the coming days with it all.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants