Skip to content
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

Different spellings #2

Closed
paulmaschhoff opened this issue Mar 30, 2015 · 2 comments
Closed

Different spellings #2

paulmaschhoff opened this issue Mar 30, 2015 · 2 comments

Comments

@paulmaschhoff
Copy link

Request support for the following:

  • US spelling of Liter
  • m^3 is supported but metre^3 or meter^3 is not

Can you do options? it would be nice to choose -re or -er endings for SI units.

@wolph
Copy link
Owner

wolph commented Mar 30, 2015

Well, the thing is. I'm using the poscUnits22.xml file which I just found by Googling to be honest (url: http://w3.energistics.org/uom/poscUnits22.xml). And it uses English instead of US spelling by default which makes displaying something different slightly tricky.

I've added some new aliases and changed the default output to show us-style measures. There appears to be no easy and fast way to do language detection from Python in OS X so it's just default to US now :)

Please give it a try, you can download the zip here: https://github.com/WoLpH/alfred-converter/archive/master.zip and overwrite the files in your current workflow folder. Note that for the best effect you should remove the units.pickle file, it automatically gets re-generated but it might cache the old units.

@paulmaschhoff
Copy link
Author

Alright I'll take a look, thanks for getting my back so quickly.

On Mon, Mar 30, 2015 at 11:31 PM, Rick van Hattem
notifications@github.com wrote:

Well, the thing is. I'm using the poscUnits22.xml file which I just found by Googling to be honest (url: http://w3.energistics.org/uom/poscUnits22.xml). And it uses English instead of US spelling by default which makes displaying something different slightly tricky.
I've added some new aliases and changed the default output to show us-style measures. There appears to be no easy and fast way to do language detection from Python in OS X so it's just default to US now :)

Please give it a try, you can download the zip here: https://github.com/WoLpH/alfred-converter/archive/master.zip and overwrite the files in your current workflow folder. Note that for the best effect you should remove the units.pickle file, it automatically gets re-generated but it might cache the old units.

Reply to this email directly or view it on GitHub:
#2 (comment)

@wolph wolph closed this as completed Jul 10, 2015
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

No branches or pull requests

2 participants