-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Bug] Unsupported locale settings #15
Comments
Hi, you do not have to enter 'en_US' as a locale. If you are using 'en_GB', you can create a json file containing custom timeline settings. See this code example here: https://github.com/csgoh/roadmapper/wiki/Traditional-Chinese-Roadmap-Code The code sample shows how to change language, font and locale. |
Some additional how-to guide can be found here: https://github.com/csgoh/roadmapper/wiki/How-To#how-to-change-the-timeline-display-format |
As my local locale is set to
As an easier workaround, it would be nice to specify the locale directly to avoid repeating the boilerplate settings like As a user, I definitely do not want to deal with these weird locale settings if I just want to create a roadmap which does not require any specific locale settings like language or special characters. Would it be possible to allow specifying locale settings without requiring them? Think of a Danish person needing to create a roadmap for a multinational company in English... |
Hi, I see your point. I will de-couple the locale from the timeline formatting in the next minor release. It should not take long. |
This issue should be resolved in v1.1.1. I have removed the dependency of 'en_US'. |
I tested it on my simple example and it now works like a charm. |
I installed
roadmapper
via pip and used some example code from the wiki to try out this package. However, I was blocked by the locale settings. When I try to run the script which usesroadmapper
, I get the following error.If I print my locale settings in Python, I get the following settings:
('en_GB', 'UTF-8')
. This equals toen_GB.utf8
on my system. roadmapper somehow requiresen_US
(withoututf8
). I managed to work around this issue by trying to set the locale settings in a Docker container manually toen_US
(withoututf8
). I selected this setting from a very long list when I ransudo dpkg-reconfigure locales
.It would be very nice to decouple
roadmapper
from the locale settings.FYI: My OS is Ubuntu
22.04
and I performed the mentioned installation steps.Edit: My Python version is
3.10.6
.The text was updated successfully, but these errors were encountered: