Build a Simple Multilingual Canvas App in 3 Steps
TL;DR: Keep all translations in one table (one column per language), load the right column into a
colTranslationscollection atOnStartusingLeft(Language(), 2), rename it to a fixedValuecolumn, and referenceLookUp(colTranslations, ID = n).Valuein every label. Adding a language means adding one source column and a branch in theSwitchofOnStart(plus theSwitchin theOnChangeof the language dropdown and its list of languages, if you use one).
Most multilingual Power Apps examples force you to touch every single control when a new language is added. This pattern keeps maintenance small: your labels never change, and a new language needs a source column plus a branch in the Switch of OnStart.
💡 Challenge
You want a canvas app that shows text in the user’s language (e.g. en, fr, de) and picks it up automatically from the browser/user language. The common approaches scatter If(Language() = ...) logic across dozens of controls, so every new language means editing every text property — slow and error-prone.
✅ Solution
Centralize translations in one data source with a reference column (an ID) and one column per language. At startup, detect the language with Language(), take the first two letters with Left(Language(), 2), and load only that language column into a collection — renamed to a fixed name (Value) so your labels never have to change. A dropdown lets users switch language at runtime.
🔧 How It’s Done
Step 1 – Create a data source
🔸 Create a SharePoint list (or Dataverse table / static table) named MultiLanguage with one column per language: en, fr, de.
🔸 Use a stable reference column — the auto-generated ID works well as long as the assignment of number to text never changes. If you rebuild the list or use a static table, keep the same IDs or use your own fixed key column (and look up by that) instead. Optionally add a Screen/Remark column to note where each string is used.
| ID | en | fr | de |
|---|---|---|---|
| 1 | Welcome | Bienvenue | Willkommen |
| 2 | Save | Enregistrer | Speichern |
Step 2 – Define App.OnStart
🔸 Read the user/browser language, keep the first two letters, store it in a variable, and load the matching column into colTranslations, renaming it to Value with RenameColumns(ShowColumns(...)). Column names are written as plain identifiers (ID, fr, Value) without quotes, as in current Power Apps versions (from version 3.24042; older apps used quoted text strings and were migrated automatically, see Microsoft Learn). With a SharePoint list, use the column names as Power Apps shows them.
Set(
varLanguage,
Left( Language(), 2 )
);
Switch(
varLanguage,
"fr",
ClearCollect( colTranslations, RenameColumns( ShowColumns( MultiLanguage, ID, fr ), fr, Value ) ),
"de",
ClearCollect( colTranslations, RenameColumns( ShowColumns( MultiLanguage, ID, de ), de, Value ) ),
// default / fallback = English
ClearCollect( colTranslations, RenameColumns( ShowColumns( MultiLanguage, ID, en ), en, Value ) )
)
🔸 Tip: Use the last Switch argument as the default (English) fallback, so an unsupported language falls back to English instead of staying empty — this matches Microsoft’s recommended fallback pattern. The fallback only chooses the column: an ID that doesn’t exist, or an empty English text, still shows blank, so fill the en column completely.
Step 3 – Insert text elements
🔸 In each label (or any text property), reference the string by its ID:
LookUp( colTranslations, ID = 1 ).Value
Because the column is always called Value, you never edit a control when you add a language.
Bonus – Let users switch language at runtime
🔸 Add a dropdown with en, fr, de. In its OnChange, reuse the Step 2 logic, but set the variable from the selection:
Set( varLanguage, Self.Selected.Value );
Switch(
varLanguage,
"fr",
ClearCollect( colTranslations, RenameColumns( ShowColumns( MultiLanguage, ID, fr ), fr, Value ) ),
"de",
ClearCollect( colTranslations, RenameColumns( ShowColumns( MultiLanguage, ID, de ), de, Value ) ),
ClearCollect( colTranslations, RenameColumns( ShowColumns( MultiLanguage, ID, en ), en, Value ) )
)
🔸 You can reduce this to the minimum and put it behind flag images with OnSelect instead of a dropdown.
🎉 Result
The app shows the right language automatically and users can switch on the fly. Adding a new language (e.g. Italian it) takes 2 edits: add an it column to the data source and add an "it" branch to the Switch in OnStart. If you use the runtime switch, it takes 4 edits: additionally add an "it" branch to the Switch in the dropdown’s OnChange and add it to the dropdown’s list of languages. The labels keep using the same Value column in both cases.
🌟 Key Advantages
🔸 Low maintenance: new language = 2 edits (4 with the runtime dropdown), no label changes.
🔸 One reference pattern: every label uses LookUp(colTranslations, ID = n).Value.
🔸 Automatic detection: Left(Language(), 2) matches your two-letter columns.
🔸 Safe fallback: the Switch default returns English for unsupported languages.
🔸 No premium connector needed: works with a static in-app table (no connector at all) or SharePoint (a standard connector). Dataverse works too, check the licensing of your plan for it.
🛠️ FAQ
1. Why Left(Language(), 2)?
Language() returns a full tag like de-DE or en-GB. Taking the first two letters gives de / en, which matches the two-letter column names in your data source. If you need region-specific text (e.g. pt-BR vs pt-PT), key on the full tag instead.
2. Why rename the column to Value?
So every label references the same fixed column name. When you add a language, only the data source and the Switch branches change (OnStart, and the OnChange and the list of languages of the dropdown if you use it) — the label formulas stay untouched.
3. How do I handle numbers, dates and currency?
Use the Text() function with a global-aware format (e.g. Text(Now(), DateTimeFormat.LongDate)), which formats according to the user’s own language automatically. That is the language of the user, not the one picked in your dropdown: if the user switches the language manually and dates should follow, pass the language tag of the chosen language as third argument, for example Text(Now(), DateTimeFormat.LongDate, "de-CH").
4. Is there a more modern alternative?
Yes. Microsoft also documents a reusable translation component (component libraries) and you can keep the mapping in Named Formulas instead of OnStart for faster startup. The collection pattern above, with a static in-app table, stays the simplest connector-free option for small and medium apps; with SharePoint or Dataverse as the source, the connector and its licensing come on top.
🔗 Related Tips
- #PowerPlatformTip 16: ‘PowerApps: Collections Cookbook’ — more copy-paste collection recipes.
- How to Load Multiple Data Sources into ONE Collection — combine sources into a single collection.
This tip is by Marcel Lehmann, Microsoft MVP (Business Applications) and founder of the Power Platform Academy, which runs free live workshops (in German). See the next free workshop dates (in German). For companies that want this implemented for them, see KMUpower: Power Platform consulting & automation for SMEs (DACH).