Age | Commit message (Collapse) | Author |
|
This allows someone to have their system in any language, and then have
Viper in a separate language. This is also useful for testing.
|
|
variable
|
|
|
|
|
|
If a message is not localized it'll default back to English, instead of
just giving back the string...
|
|
By error I forgot to include this check... I also added in the ability
for it to look for a lang file without the extra locale info on the end,
i.e if "en-GB" is not found it'll try "en"
|
|
This may or may not be how we actually do localization in the future,
however for now this seems doable. I will obviously need to look at how
we detect the language, as I think instead of relying on names like
"en-US" just have "en", so we don't have to symlink various editions of
English to the same file. But for now this is a draft, and the important
part of this is rather how the underlying localization works.
|