Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • seanrock 262 posts 483 karma points
    Nov 08, 2021 @ 17:46
    seanrock
    0

    Get the current selected language in the backoffice

    Hi

    So what I need to do is get the current selected variant/language in the backoffice from the angular controller in a custom property editor.

    Thanks. Sean

  • Erik Eelman 81 posts 321 karma points
    Nov 09, 2021 @ 08:20
    Erik Eelman
    2

    Hi Sean,

    You can get de mculture parameter from the url with $routeParams.mculture.

  • seanrock 262 posts 483 karma points
    Nov 09, 2021 @ 11:29
    seanrock
    1

    Thanks for pointing me in the right direction. However its $routeParams.cculture that will change depending on the language selection, mculture is the 'real' culture of the application.

Please Sign in or register to post replies

Write your reply to:

Draft