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
When using the mobile module in combination with the translatable module (https://github.com/silverstripe/silverstripe-translatable) the mobile theme set in the admin backend does not get loaded when using a non-default locale based on ?locale=... parameter.
I.e. when default locale is set to "en_US" and a translation "de_AT" exists, the mobile theme is not loaded. Instead, the default theme is shown.
Sorry for the late reply,
You need to extend site config, as:
Object::add_extension('SiteConfig', 'Translatable');
And then create the translation in "Settings" menu of the CMS.
When using the mobile module in combination with the translatable module (https://github.com/silverstripe/silverstripe-translatable) the mobile theme set in the admin backend does not get loaded when using a non-default locale based on ?locale=... parameter.
I.e. when default locale is set to "en_US" and a translation "de_AT" exists, the mobile theme is not loaded. Instead, the default theme is shown.
E.g.
http://server/home -> default theme is loaded, with default locale is set to en_US
http://server/home?locale=de_AT -> ALSO default theme is loaded
Translated pages exist and work correctly when not in mobile mode.
The text was updated successfully, but these errors were encountered: