-
Notifications
You must be signed in to change notification settings - Fork 44
Localization for Quail #365
Comments
Yes, localization as it stands is a very narrow solution. It was meant to be a bridge between no localization and a flexible solution. |
Alright so lets start proposing some concepts / solutions. What needs to be localized?
ConceptThe idea is to split localization into two files config and assessments.
Quail would load proper language file on demand (once $().quail is called with a given language). Quail main object will store internal variable:
And localization values will be available with:
Then for convenience Test collection would implement the following lang method:
Typical main Quail fn call might look sth like:
Optimization: When building Quail, the builder will merge default lang's Procedure
Notes
|
We assume that current localization for
en
andnl
is just a temporary solution. But now, when we want Quail to be widely used, it's time to bring a real solution for multiple localizations.Issue #269 might be related.
The text was updated successfully, but these errors were encountered: