Skip to content

Mobile module problem when using Translatable module and non-default locale #29

@sasmk

Description

@sasmk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions