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

Language support #5

Open
Alexmod opened this issue Feb 13, 2021 · 6 comments
Open

Language support #5

Alexmod opened this issue Feb 13, 2021 · 6 comments

Comments

@Alexmod
Copy link

Alexmod commented Feb 13, 2021

Is it possible to make language support available?
Example.

p.parse('1 + IF(1>0;1;2)')
{'result': 2, 'error': None}
p.parse('1 + EСЛИ(1>0;1;2)')
{'result': None, 'error': '#NAME?'}
@leonelcamara
Copy link
Contributor

This could be possible, do you know of a good source for the formula's names in different languages?

@Alexmod
Copy link
Author

Alexmod commented Feb 13, 2021

Thanks for the answer. Maybe
https://en.excel-translator.de/translator/

@Alexmod
Copy link
Author

Alexmod commented Feb 13, 2021

@leonelcamara
Copy link
Contributor

@Alexmod this last one seems good enough, we can improve the lists later, I'll try to make hotxlfp localizable.

@Alexmod
Copy link
Author

Alexmod commented Feb 15, 2021

@leonelcamara , there's a difficulty in the separator. Different languages have different delimiters. For example.
Russian
СУММ(1; 2; 3)
English
SUM(1, 2, 3)

@leonelcamara
Copy link
Contributor

@Alexmod hotxlfp already accepts both delimiters. I think the problem is more with locales which use commas in numbers as the decimal separator. Not sure I'll support that as I'd like to keep this behavior of accepting both commas and semicolons.

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