8000 Make CIRCUITPY_LOCALIZE a per-board setting by jepler · Pull Request #8628 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Make CIRCUITPY_LOCALIZE a per-board setting #8628

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

Closed
wants to merge 1 commit into from

Conversation

jepler
Copy link
@jepler jepler commented Nov 17, 2023

Some boards may need to disable localization as the least bad trade-off against disabling other features. However, it should only be done rarely.

This is done for the Feather M0 RFM69 as a proof-of-concept. It appears to correctly build only English during CI and only list the en_US translation in the release json file.

Tested locally with

PYTHONPATH=../docs:adabot/ BOARDS=feather_m0_rfm69 python build_release_files.py
DEBUG=yes RELEASE_TAG=testing PYTHONPATH=../docs:adabot/ BOARDS=feather_m0_rfm69 python build_board_info.py  > release-info.json

Some boards may need to disable localization as the least bad trade-off
against disabling other features. However, it should only be done rarely.

This is done for the Feather M0 RFM69 as a proof-of-concept. It appears
to correctly build only English during CI and only list the en_US
translation in the release json file.

Tested locally with
```shell
PYTHONPATH=../docs:adabot/ BOARDS=feather_m0_rfm69 python build_release_files.py
DEBUG=yes RELEASE_TAG=testing PYTHONPATH=../docs:adabot/ BOARDS=feather_m0_rfm69 python build_board_info.py  > release-info.json
```
@tannewt
Copy link
Member
tannewt commented Nov 17, 2023

I'd rather not do this because it demotes some languages. Existing boards should be able to stay small when no new features are added.

@jepler jepler closed this Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0