You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add this info to the plugin documentation in the wiki.
Any two different plugins might accidentally use the same key for different translations, resulting in one plugin overriding the other plugin's translation. Additionally, we might add new translation keys to the core Mirador that already exist within any third party plugin, resulting in overriding the Mirador core translation. Therefore, we should advice the use of plugin specific prefixes or namespaces to ensure unique translation keys.
The text was updated successfully, but these errors were encountered:
Mirodor allows the translation of plugins by providing a
translations
object via theconfig
property of the plugin object, e.g.https://github.com/ProjectMirador/mirador-image-tools/blob/9556d016f238f7bf2fa09f0f155907391a1543ff/src/plugins/miradorImageToolsPlugin.js#L23-L25
The text was updated successfully, but these errors were encountered: