[Owncloud] Translation in JS code

Philip Taffner sabel at altmuehlnet.de
Fri Aug 10 13:35:00 UTC 2012


There is already a function for that [1]:

"To translate text in javascript use: t('appname','text to translate');"

It just has to be used everywhere... the file listing is also missing
some of these function calls, for example at the mouse over links like
"rename".


[1] http://owncloud.org/dev/translation/

Am 10.08.2012 15:21, schrieb Martin Werthmöller:
> Hello ownClouds,
> 
> at our ownCloud installation (4.0.6) i see that some parts are not
> translated. For example the "User and Groups" text at the drop-down box for
> sharing with user and groups can only be printed in english.
> 
> As I look at the sources, I saw that this text was hardcoded at the
> JavaScript file "apps/files_sharing/js/share.js".
> 
> Are there plans to implement here something like the l18n plugin from
> jquery?
> 
> Best regards,
> Martin Werthmoeller
> 



More information about the Owncloud mailing list