translations in JS plasmoids

Aaron J. Seigo aseigo at kde.org
Mon Mar 29 21:12:40 CEST 2010


On March 27, 2010, Nikita Melnichenko wrote:
> Hi everyone,
> 
> I need help with localization of javascript plasmoid. I've found no
> example on kdeexamples so I tried to dig it by myself.
> 
> I created po file here:
> /contents/locale/ru/LC_MESSAGES/main.po

localization is not my speciality, but i believe this has to be the .mo file, 
not the .po file. it also needs to be named after the plugin itself, so e.g. 
if the X-KDE-PluginInfo-Name entry is "myplasmoid" then it should be 
/contents/locale/ru/LC_MESSAGES/myplasmoid.mo

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


More information about the Plasma-devel mailing list