Localize parser strings
See original GitHub issueI tried to localize the parser strings as well… but that failed the tests because the unit tests don’t have a vscode implementation. Any idea on how I could mock that?
I would keep the parser free of vscode-dependencies. It’s a bit of duplication but the LanguageValidation-strategy could have a mapping from ValidationError#code
to human-readable messages which are then externalized/translated
_Originally posted by @jrieken in https://github.com/microsoft/vscode-github-issue-notebooks/issues/132#issuecomment-1255907372_
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Why You Should Not Parse Localized Strings - sffc's Tech Blog
This document lays out why you should not parse localized strings and the best practices for what to do instead.
Read more >Localized Number Parsing / Mike Bostock - Observable
But what about parsing localized numbers? ... To strip the group separators and rewrite the decimal separator, use string.replace.
Read more >Localizable.strings parser for Python - GitHub
python-localizable. Localizable.strings parser for Python. Usage. Install using pip. $ pip install localizable.
Read more >parsing localized javascript number strings - Stack Overflow
In Javascript, I want to present a number to a user in a format they understand so that they can edit it. Consequently,...
Read more >String Localization - objc.io
Generally, all strings you want to show to the user in one form or another have to be localized. These can be simple...
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 FreeTop 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
Top GitHub Comments
🚀
new release out