-
Notifications
You must be signed in to change notification settings - Fork 6.5k
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
PTRun UnitConvert - Cannot use en-US abbreviations in other localizations #22257
Comments
This looks very similar to #21472 but in fact different. This is a localization issue. According to the following code, we only accept a unit in the following format, PowerToys/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/UnitHandler.cs Lines 36 to 52 in c3ffd17
|
The shadowing of localized abbreviations over English abbreviations is defined by
To resolve this twisted condition, one can initiate a systematic fix on the A potential fix which works well on my side is at #22270 |
That fix you did on #22270 looks good. It's essentially a fallback to en-US culture if all else fails. You can mark that as ready for review once you feel it's ready ;) Thank you! |
Thank you! I've marked it as ready. |
The code for this issue has been released in 0.65. Please update PowerToys to the latest version: |
Microsoft PowerToys version
0.64.1
Installation method
Microsoft Store
Running as admin
No response
Area(s) with issue?
PowerToys Run
Steps to reproduce
zh-CN
%%1 ft in m
%%1 foot in meter
%%1 feet in meters
%%1 英尺 - 米
✔️ Expected Behavior
0.3048 m
0.3048 meter
0.3048 meters
0.3048 米
❌ Actual Behavior
0.3048 meter
0.3048 米
Other Software
No response
The text was updated successfully, but these errors were encountered: