Fix issue #642, frontend not in english if the user language does not exist
#648
Merged
requiem958
merged 2 commits from issue-frontend-language
into master
5 years ago
Loading…
Reference in New Issue
this should be either a (cached?) constant, or a (cached?) config value
It should be a constant yes, but the rust doc of constant says :
So i thought the keyword const was forbidden in this case.
All this is in a lazy_static! call, so the result will be evaluated only one time, the first time CATALOG is accessed. The only thing it's not is cached between two different page loading, but that's not necessary imo