I'm currently trying to use this program in one of my project :
When I execute the command :
gherkin2robotframework 01_BDD_Robot/01_login.feature
I got this message.
Traceback (most recent call last):
File "/home/brice/.local/bin/gherkin2robotframework", line 5, in <module>
from gherkin2robotframework.__main__ import main
File "/home/brice/.local/lib/python3.9/site-packages/gherkin2robotframework/__main__.py", line 27, in <module>
from translation import get_language, tr, set_language
ImportError: cannot import name 'get_language' from 'translation' (/home/brice/.local/lib/python3.9/site-packages/translation/__init__.py)
So I checked sources and see that translation is in the program so I changed line number 27 in main.py with this
from gherkin2robotframework.translation import get_language, tr, set_language
Hello,
I'm currently trying to use this program in one of my project :
When I execute the command : gherkin2robotframework 01_BDD_Robot/01_login.feature
I got this message.
So I checked sources and see that translation is in the program so I changed line number 27 in main.py with this
And it works better.
What i'm missing here?