uqbar-project/wollok-language
View on GitHubDeal with internationalization and localization
Open
#28 opened on Nov 9, 2019
help wantedquestion
Repository metrics
- Stars
- (8 stars)
- PR merge metrics
- (PR metrics pending)
Description
Extracted from discussion on #26 .
We should think how to deal with translations and localization in this project to reuse as much as possible.
Besides the general discussion of where and how we should store translations and similar stuff, there are some concrete issues to discuss:
- The method
Object.generateDoesNotUnderstandMessage(target, messageName, parametersSize)is currently implemented as native. This is, as I understand, mainly because it relies on localization (please, correct me if I'm wrong), but it would be nice to have it shared. - Date toStrings depend on localization which is not tested anywhere. I believe it would be good to avoid this dependency or model the localization in the language somehow, otherwise we are coupled with the fact the code runs on an IDE that knows the system language.
- The text of exceptions could be shared by all implementations if we move it here.