Runtime localization

Forums: 

Is there a mechanism for localization at runtime?  We're developing a content type that will need to be useable in at least English and Portuguese.  The buttons and other UI text would need to be shown in the correct language, as determined by the CMS environment, e.g. Wordpress or Drupal).  The actual content has no text, only images, so the same content object could  be used in both languages if the buttons and other UI text could switch to the correct language.

If there is no mechanism for this at the moment, we'll roll our own.  In that case, is the current user language exposed by the CMS environment plugin?

 

We ended up rolling our own localization facility.  We are currently looking for the user locale/language in the querystring, the url path, cookies, etc.  as H5P doesn't appear to expose the current locale/language.  Since the language is detected during editing of content items, are there plans to make this accessible to content libraries?