How to implement localization in Tekla Structures Open API WPF UI design
01:57 12 Jun 2026

I created a Common.WPF library project that contains some general assets, and this library is referenced by several plugins I developed for Tekla Structures. According to this link, I created a localization file (*.ail) for each plugin to implement multilingual functionality. But each *.ail file needs to include the same translations for the Common.WPF assets. It works, but not elegant.

Original approach

I tried moving these common contents into a Common.WPF.ail file, but it didn’t work — the localized text wouldn’t show.

Approach 1

I also tried implementing localization in Common.WPF using a language.resx file. In a standalone app that references this library, changing the Culture in code can switch the translated text. But in the plugins, it doesn’t work — they always show the default culture text.

Approach 2

So, what am I doing wrong with these two approaches? How can I make it work successfully?

wpf