numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
202 stars 117 forks source link

A mechanism to translate extensions #804

Open christianp opened 3 years ago

christianp commented 3 years ago

Extensions can add their own strings, which it should be possible to localise. There should be a method like Numbas.locale.addStrings which takes a dictionary of the form {languagecode: {key: string}}. This would add those strings to the localisation resources.