-
Notifications
You must be signed in to change notification settings - Fork 21
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
Localization and restructured tests #102
Conversation
Did a bit of testing and found a few things:
|
…-cased locale names
Oh, right! I didn't even notice it looking for the wrong name because it still worked. Is the Linux file system case-sensitive? |
Yes and the manifest part only gets tested/used if you're not installing with the --editable flag. Thanks. |
… instead of unittest
…nt environment(test_all)
I noticed in testing that no matter the case of the language part of the messages_. files, the language part comes out in caps when installed. Looking at locale info on Ubuntu, I saw Spanish represented as es_ES. So made the following change and it "just worked" after that. Can you try that same change on Windows? If that works, then that would be the final update to this before it can be merged.
|
So you're saying the second part of the file name is still upper-case despite pulling in the most recent changes? If so, try the following
before pulling again. Theoretically, people who pull it now should get the lower-case file names so we should try that before going with your solution. |
Tried that but have same issue. Git seems to be checking it out right with the lower case. It's just that Next question is probably if setuptools has some locale-awareness causing it to do that. |
Out of pure curiosity, did you try deleting your build folder before re-installing after pulling in the lower-case files? It installed lower-case filenames even after I'd upper-cased them because I hadn't cleared the previous build. This one should work though. I simply upper-cased the locale that's fetched by the script aswell as the file names. I decided to not take your approach of grabbing the second part of the locale as I believe that part sometimes represents a country as opposed to a language (eg: en_GB). Do try it out and let me know though! |
No description provided.