[Owncloud] Translation in JS code
Stefan Göckeritz
goeckeritz at rheinahrcampus.de
Mon Aug 13 10:38:29 UTC 2012
Hey everyone,
being a Transifex Group Admin, that's a thing that bothers me too. There
are lots of small little hints that come from JS in ownCloud, that are
hardcoded.
I know the translation function is there and can simply be used in the JS.
Anyway I feel like I don't want to dive into all the little code
snippets, should I do it though, or should I wait for the app
creator/maintainer to do this (Which unfortunately didn#t work for a
long time now)?
Cheers
Stefan
Am 10.08.2012 15:35, schrieb Philip Taffner:
> 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
>>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
--
M. Sc. Dipl. Ing. (FH) Stefan Göckeritz
ReinAhrCampus
Raum C209
Südalle 2
53424 Remagen
Tel: 02642/932-430
Fax: 02642/932-359
More information about the Owncloud
mailing list