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

Use new AccountsService Languages property #5006

Closed
hadess opened this issue Jul 24, 2022 · 0 comments · Fixed by #5018
Closed

Use new AccountsService Languages property #5006

hadess opened this issue Jul 24, 2022 · 0 comments · Fixed by #5018

Comments

@hadess
Copy link
Contributor

hadess commented Jul 24, 2022

https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/99 adds a new property for users, and a new system method.

org.gnome.Accounts.User has a new Languages property that should be used to gather the list of languages that the user is interested in for user repositories, and the org.gnome.Accounts.GetUsersLanguages will return an array of languages used by all the users on the system to do the same for system repositories.

This fixes the problem that the addition of the extra-languages configuration option worked around:
https://docs.flatpak.org/en/latest/flatpak-command-reference.html?highlight=extra-languages#flatpak-config
in that it allows flatpak to know which languages users are interested in without relying on an environment variable, or a specific configuration.

hadess added a commit that referenced this issue Jul 28, 2022
Use the new GetUsersLanguages() method from AccountsService to get the
list of all the locales that each user is interested in.

See https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/99

Closes: #5006
hadess added a commit that referenced this issue Jul 28, 2022
Use the new GetUsersLanguages() method from AccountsService to get the
list of all the locales that each user is interested in.

See https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/99

Closes: #5006
GeorgesStavracas pushed a commit to GeorgesStavracas/flatpak that referenced this issue Oct 10, 2023
Use the new GetUsersLanguages() method from AccountsService to get the
list of all the locales that each user is interested in.

See https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/99

Closes: flatpak#5006
GeorgesStavracas pushed a commit that referenced this issue Oct 13, 2023
Use the new GetUsersLanguages() method from AccountsService to get the
list of all the locales that each user is interested in.

See https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/99

Closes: #5006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants