[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Translations
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2012-08-15 9:28:55
Message-ID: 2730748.hiJnHu7oFc () xps
[Download RAW message or body]

El Dimecres, 15 d'agost de 2012, a les 13:11:43, Alexander Potashev va 
escriure:
> Hi Dmitry,
> 
> Yes, it seems that the C++ system tray automatically loads the catalog
> "plasma_applet_systemtray.mo", probably guessing it from the name of
> the applet's shared library (plasma_applet_systemtray.so).
> 
> For QML Plasma applets, there must be a similar automatic translation
> catalog loader. For example, the QML applet
> "containments/activityscreen" from the repository
> git@git.kde:plasma-mobile.git is able to load the catalog
> "plasma_applet_org.kde.active.activityscreen.po" somehow. Please note
> the line "X-KDE-PluginInfo-Name=org.kde.active.activityscreen" in
> "plasma-mobile/containments/activityscreen/metadata.desktop".

http://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems#Declarative_plasmoids


Cheers,
  Albert

> 
> Another basic question, do you have a compiled translation catalog
> (.mo) in either "/usr/share/locale/<LANG>/LC_MESSAGES/" or
> "/home/<USER>/.kde/share/locale/<LANG>/LC_MESSAGES/amarok.mo"? It
> matters how this .mo file is called, as I described above.
> 
> > 15.08.2012 03:19, Alexander Potashev пишет:
> > > Hi Dmitry,
> > > 
> > > (I'm CC'ing the KDE localization mailing list.)
> > > 
> > > This happens due to missing code that would import required \
> > > translation 
> > > catalogs (.po files), for example:
> > > KGlobal::locale()->insertCatalog( "kcm_akonadi" );
> > > 
> > > or
> > > 
> > > static const KCatalogLoader loader( "libincidenceeditors" );
> > > 
> > > I may sound stupid, but I can't find the sources of the QML system \
> > > tray you are
> > > talking about. Could you please point to them?
> > 
> > Hello, Alexander!
> > 
> > I can't find such code in current C++ system tray applet. Maybe KDE
> > translation framework loads translation corresponding to applet
> > automatically?
> > 
> > Now QML system tray isn't published, because I cannot build KDE \
> > locally:
> > > CMake Error at
> > > …/build/kde/inst/share/apps/cmake/modules/FindPackageHandleStandardArgs.c
> > >  make:198 (MESSAGE):
> > > Could NOT find Nepomuk (missing: SOPRANO_PLUGIN_RAPTORPARSER_FOUND
> > > SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)
> > > Call Stack (most recent call first):
> > > …/build/kde/inst/share/apps/cmake/modules/FindNepomuk.cmake:80
> > > (find_package_handle_standard_args)
> > > services/fileindexer/indexer/CMakeLists.txt:3 (find_package)
> > 
> > So, I can't develop in kde-workspace (((.
> > 
> > Thank you!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic