Learning Playground

Welcome to the learning playground a space to try interactive concepts related to Power Fx and testing. You can use the steps of each playground task to explore different key concepts.

Once have completed each set of learning playground concepts have a look at related learning playground tasks to build your knowledge.

Localize your application

Set the culture and Language() function to localize your application

Results

Playground Steps

You can try the following to experiment with this playground task:

  • Press "Try It!" to verify that locale of en-US is returned
  • Change the culture to fr-fr and verify that locale of fr-FR is returned
  • Change change the locale to fr-fr and change Code to the following If(Lower(Language())="fr-fr"; If(Hour(Now())<12; "Bonjour"; "Bonsoir"); "Hello")
  • Notice that that Power Fx changes with the locale in en-us the function uses , in French the ";" should be used between arguments.
  • Try Learn Module: Localization