https://bugs.kde.org/show_bug.cgi?id=501400

            Bug ID: 501400
           Summary: Third party wallpaper plugin doesn't load its built-in
                    translations like widgets do
    Classification: Plasma
           Product: plasmashell
           Version: 6.3.3
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Desktop icons & Folder View widget
          Assignee: plasma-b...@kde.org
          Reporter: luisbocanegra...@gmail.com
                CC: h...@kde.org
  Target Milestone: 1.0

Created attachment 179337
  --> https://bugs.kde.org/attachment.cgi?id=179337&action=edit
wallpaper plugin with translations

SUMMARY

I am trying to add localization support to a third-party wallpaper plugin
([smart-video-wallpaper-reborn](https://github.com/luisbocanegra/plasma-smart-video-wallpaper-reborn)),
but translations are not loading when they are built into the wallpaper
(`contents/translations/`).

STEPS TO REPRODUCE

1. Install attached plasma-smart-video-wallpaper-reborn-v2.0.0.zip
2. Change the system language to es/pt_BR
3. Reboot then open the wallpaper plugin settings

OBSERVED RESULT

Wallpaper and its settings are still in english

EXPECTED RESULT

Wallpaper should follow use the provided translations

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Intel® UHD Graphics 630

ADDITIONAL INFORMATION

If I copy the translation files to `/usr/share/locale` or
`~/.local/share/locale/` then they load only [if the translation domain is
passed on all translatable strings
`i18nd()`](https://github.com/luisbocanegra/plasma-smart-video-wallpaper-reborn/commit/346dbbd48364038b991f95a8db8f28b2f4586b57)
and this confuses me even more because widgets for example don't require
passing domain.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to