Closed odalet closed 7 months ago
In https://docs.avaloniaui.net/docs/guides/implementation-guides/localizing, creating resx files and making sure their Build Action is Embedded Resource is not sufficient for it to work in Xaml.
Embedded Resource
One should also make sure the Custom Tool is set to PublicResXFileCodeGenerator and not the default ResXFileCodeGenerator. The latter gererates internal code that is not detected by the xaml compiler.
PublicResXFileCodeGenerator
ResXFileCodeGenerator
internal
@odalet please file a PR to fix that. Thx.
See #476
In https://docs.avaloniaui.net/docs/guides/implementation-guides/localizing, creating resx files and making sure their Build Action is
Embedded Resource
is not sufficient for it to work in Xaml.One should also make sure the Custom Tool is set to
PublicResXFileCodeGenerator
and not the defaultResXFileCodeGenerator
. The latter gereratesinternal
code that is not detected by the xaml compiler.