Provide a build target that disables localization
See original GitHub issueIssue Type: Bug
Behaviour
Failed to load message bundle. See console for details.
instead of the normal options for the debugging tool (among other things)
Steps to reproduce:
- Load the extension v2022.8.0
- Look a the output tabs for the Python-related ones
- Try to debug a file
- All options have that title
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.9
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Pyenv
- Value of the
python.languageServer
setting: Default
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
I hope it’s the right tab
Telemetry level is off
Experiments are disabled, only manually opted experiments are active.
LSP Notebooks experiment is disabled -- not using Pylance
> conda info --json
Failed to load message bundle. See console for details.
> ~/.pyenv/versions/3.6.15/bin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> ~/.pyenv/versions/3.9.9/bin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> ~/.pyenv/versions/3.7.12/bin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> ~/.pyenv/versions/3.8.11/bin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> ~/.pyenv/versions/3.8.12/bin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> /bin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> /sbin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> /usr/bin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
> /usr/sbin/python ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-oss/extensions/ms-python.python-2022.8.0/pythonFiles/interpreterInfo.py
Failed to load message bundle. See console for details.
> ~/.pyenv/versions/3.9.9/bin/python -m black --diff --quiet ./graph_logic/logic_input.py.07bda48b6f6cf8e436fb49d4da29add4.tmp
Failed to load message bundle. See console for details. .
User Settings
languageServer: "Jedi"
linting
• enabled: false
formatting
• provider: "black"
Extension version: 2022.8.0 VS Code version: VSCodium 1.68.0 (4af164ea3a06f701fe3e89a2bcbb421d2026b68f, 2022-06-09T22:51:30.652Z) OS version: Linux x64 5.18.2-1-MANJARO Restricted Mode: No
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:19 (10 by maintainers)
Top Results From Across the Web
Disable Target Localization in Xcode - ios - Stack Overflow
In our project we have multiple build targets which each use an English, French and Base (English) localization files.
Read more >Unable to build project for localization string extraction
If you'd like to disable a specific target from exporting localizations, you can disable the "Localization Export Supported" build setting.
Read more >Localized Builds — Firefox Source Docs documentation
You should find a re-packaged build at OBJDIR/dist/ , and a runnable binary in OBJDIR/dist/l10n-stage/ . The installers target runs quite a few...
Read more >[Solved]-Disable Target Localization in Xcode - appsloveworld
Coding example for the question Disable Target Localization in Xcode.
Read more >Android Player settings - Unity - Manual
Disabled, Doesn't apply resolution scaling and the application renders to the ... Use this to optimize performance and battery life or target a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi all 👋 I own the translations pipeline for vscode extensions that the vscode team owns.
Feel free to get an issue going in Microsoft/vscode about having translations of OSS extensions to be open sourced. I’m not against it, it was just easier for me to combine all of the extensions we own in one place and since there are some closed sourced extensions I had to keep it closed but I have a couple ideas on how to open the ones that are open.
Yeah that’s what we do currently, if there’s a GitHub release with the VSIX file we use that otherwise we build it from sources. In the particular case of the Python extension the problem is that translations are not part of the repo and as you said it’s handled by an internal process so in the end we have an “incomplete” build, at the same time the VSIX published to the MS marketplace with the translations is released under MIT license but we can’t download it from there because of its terms of use, that’s why I was asking to also publish it to GitHub releases.
In the meantime I’ll create the issue in the vscode repo as Tyler suggested 🤞 and build the vsix with traslations disabled 🥲