-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Internationalization - Proof of Concept #264
Open
jscheidtmann
wants to merge
42
commits into
brickbots:main
Choose a base branch
from
jscheidtmann:i18n
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
62557b1
Prototype go at extracted string for i18n
jscheidtmann b146085
First i18n prototype that works
jscheidtmann a10cb48
Translate when displaying the menu
jscheidtmann 3f3c90d
Checkin latest po.
jscheidtmann 8d347f6
Update messages.po
laurentbourasseau ef1f378
Update messages.po
laurentbourasseau 169d871
Update messages.po
laurentbourasseau 8d9881a
Update messages.po
laurentbourasseau 43eaac4
Update messages.po
laurentbourasseau 8d63ab2
Update messages.po
laurentbourasseau 09aedba
Update messages.po
laurentbourasseau 5a3ae59
Menu entry "Language" added.
jscheidtmann 04c2343
Update messages.po
laurentbourasseau 903051b
Switch langauge on the fly.
jscheidtmann bba95da
Merge branch 'i18n' of github.com:jscheidtmann/PiFinder into i18n
jscheidtmann 3047161
Update messages.po
laurentbourasseau 37c2824
Merge branch 'i18n' of github.com:jscheidtmann/PiFinder into i18n
jscheidtmann 2491d2c
Updated messages and cleaned up import in sys_utils
jscheidtmann 87e2cb1
nox runs through with-out errors.
jscheidtmann 596ad2a
Merge branch 'main' of github.com:brickbots/PiFinder into i18n
jscheidtmann 514fc63
Update po and mo after merging.
jscheidtmann 465c98c
Remove print from switch_language
jscheidtmann 7af0b30
Update messages.po
laurentbourasseau 5c16aca
Updated .mo-files
jscheidtmann ecafe45
Merge remote-tracking branch 'origin/main' into i18n
jscheidtmann 942e5f4
make nox babel optional. Include info on I18N in developer docs.
jscheidtmann 78edf9e
Fix formatting and typos.
jscheidtmann a2c8209
Catch ValueError, too, if starting cedar_detect fails
jscheidtmann fc4ca79
First pass over ui classes for i18n
jscheidtmann 565cf88
Add TRANSLATORS comments to .po file.
jscheidtmann 79cf6c1
Make mypy ignore _()
jscheidtmann b585b99
Remove wrong placed "nox"
jscheidtmann f7affcb
When logging observation, do not use empty set for German translation
jscheidtmann 92a9ed3
Update messages.po
laurentbourasseau 17feba6
Update messages.po
laurentbourasseau 60e653c
Update messages.po
laurentbourasseau dcb8972
Update messages.po
laurentbourasseau 7072def
Update french translation
jscheidtmann 95bf203
Merge remote-tracking branch 'origin/main' into i18n
jscheidtmann c9c321a
Update messages.po
laurentbourasseau f8119bb
Update messages.po
laurentbourasseau e3096e0
Updates to french translation
jscheidtmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this implies changes to pifinder_setup and pifinder_update so everyone gets the languages. Also, each time a new language is added, these scripts need to be updated - unless we have some queryable single source of languages like a file used by the setup scripts and the app
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.
When updating, we can check the
python/locale
folder for new subdirs and then install the respective packages/languages. Alternative could be to install „all“ languages once. I have to check which of these options is preferable.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.
See #264 (comment) : At least on bullyeye, nothing like this is necessary.