I am trying to add localization support to a third-party wallpaper plugin (smart-video-wallpaper-reborn), but translations are not loading when they are built into the wallpaper (contents/translations/).
Then with kpac I generate the *.mo files in package/contents/locale just like for plasmoids (for which it works) but they are not loaded for wallpapers.
If I instead copy the same package/contents/locale to either /usr/share/locale or ~/.local/share/locale only then they are loaded. But can’t figure out why they can’t be loaded from where the wallpaper is normally installed when downloading from the KDE Store ~/.local/share/plasma/wallpapers/luisbocanegra.smart.video.wallpaper.reborn/contents/locale/