cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic default value based on the locale

Former Member
0 Kudos

Hi Experts,

I have a requirement where i need to show the default value in the @prompt conditional object level based on the browser locale.

I should be developing one conditional objects which should work on across the regions and across the languages.

For ex: i want to display "All Successful Jobs" as the default value when the browser is set to english locale

and should display "すべての成功したジョブ" when the browser is set to japanese language.

Is there any way to achieve this.

thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

MariannevL
Advisor
Advisor
0 Kudos

Hi,

Have a look at the separate translation manager,

You can translate

u2022 The universe name and description

u2022 Context names and descriptions

u2022 Class names and descriptions

u2022 Object names, descriptions and formats

u2022 Filter names and descriptions

u2022 Custom hierarchy names

u2022 Prompt texts

u2022 Input columns (identified as prompts in the translation management tool)

It is not possible from within universe designer itself.

Hope this helps,

Marianne

Former Member
0 Kudos

Hi,

yeah i know about the translation manager. But it does not translate the default value in the @prompt syntax.

So i what i am doing i am maintaing a sepate data base table to hold the strings in different languages and their corresponding language code.

So what i can do is i will put the filter @variable('PREFERRED_VIEWING_LOCALE') in the object definition so that it will give the browser locale specific string.

but this is not possible in @prompt syntax.

So just wanted to know is there possibility for this

thanks

Former Member
0 Kudos

Hi,

I am afraid this is not possible. The default value within a Prompt cannot change dynamically.

Best,

Rajat Sapru

Former Member
0 Kudos

hi ,

Raised a BO case on this issue and found that it is not possible.

Former Member
0 Kudos

Hi,

I think it is not possible. When we set the local language set, it will not change dynamically to other language. These settings are changed by administrator. So logically we can't change.

All the best,

Madhu...