question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Localize parser strings

See original GitHub issue

I 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:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
joyceerhlcommented, Nov 1, 2022

🚀 image

0reactions
TylerLeonhardtcommented, Nov 1, 2022

new release out

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found