-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add localization support for catalog items #10
Conversation
22d87b4
to
781855f
Compare
not all list locales are in the userlistsettings, only if a language was explicitly set by the user. The users default locale is get from sync_current_user. If it still fails, fall-back to the APIs default locale.
1f6bc9d
to
bf0c970
Compare
…istant-bring-api into item_translation
bf0c970
to
46784d3
Compare
turns out the api endpoint i thought returned the language settings for all shopping lists does in fact not return all shopping lists. You have to explicitly set the language, otherwise the bring app uses the users default language setting, which is a totally different api endpoint. So I have added yet another method to communicate with the api. |
25235ab
to
9cb5df2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I trust in my test scripts that everything works fine :)
Adds translation support