Forum Discussion

Nirod95's avatar
Nirod95
New Contributor II
2 days ago
Solved

Add culture to user security

I need to be able to visualize a cube view in english and in spanish.

The description of the account member is set in spanish, and if I put something in the 'English' line, because the user security only has the English option in culture, the cube view would come out in english. 

So i need to be able to add another option for culture in the user security. ¿How can I accomplish this?

Thanks!

 

 

  • Assuming you have set up 3 cultures in your application as shown below:

    You could create a parameter in your app as shown below:

    Then you could leverage that parameter in all your cube views as shown below to prompt the user to pick their preferred language when running cube views:

    If your ask is how do you add additional languages to your application, see the first screen shot above which you can access from the System tab > General Application Configuration Settings page.  Just uncheck the box in front of "Culture Codes" and put in additional culture codes here:

     

4 Replies

  • T_Kress's avatar
    T_Kress
    Valued Contributor

    Assuming you have set up 3 cultures in your application as shown below:

    You could create a parameter in your app as shown below:

    Then you could leverage that parameter in all your cube views as shown below to prompt the user to pick their preferred language when running cube views:

    If your ask is how do you add additional languages to your application, see the first screen shot above which you can access from the System tab > General Application Configuration Settings page.  Just uncheck the box in front of "Culture Codes" and put in additional culture codes here:

     

    • Nirod95's avatar
      Nirod95
      New Contributor II

      Thank you so much, it worked with the parameter.

      Do you know if its possible instead of using a parameter, use the culture setting on the user security?

      And pick spanish or english depending on the user and automatically set the view for that user?

      Thanks

       

      • T_Kress's avatar
        T_Kress
        Valued Contributor

        Yes, if a user is set to es-ES for example, then I think they should automatically see the user language on all cube views unless the Culture on the cube view has been set to Invariant.  

        As long as the culture is blank or current, the user should see their preferred language from their user ID.

         

  • Nirod95's avatar
    Nirod95
    New Contributor II

    Just realized it works by leaving the Culture header text in blank.

    Thanks