Hi, Your files de.js and de.json have syntax errors.
Replace "=>" with ":" and also remove the last trailing comma of the last entry. Unlike PHP, Javascript/JSON do not support having a comma after the last entry ("by":"von") Cheers, Vincent On 01/15/2015 11:17 AM, Hoffmann, Patrick wrote: > Same result with the master. Sharing is translated now, but no progress with > the app. > > Am I missing something? > > This 2 lines should do the trick to get for example the translation method > $l->t, or do I have a logic error? > > \OCP\Util::addTranslations('files_w2g'); > > $l = \OCP\Util::getL10N('files_w2g'); > > $l->t returns always the untranslated value. > > > BITO-Lagertechnik Bittmann GmbH > > Obertor 29 > 55590 Meisenheim > Germany > > Tel: +49 (0) 6753 122 0 > Fax: +49 (0) 6753 122 399 > > E-Mail: i...@bito.de > http://www.bito.de > > Gesch?ftsf?hrer: Werner Magin, Winfried Schmuck | HRB 2704 Bad Kreuznach | > Gesellschafter: Fritz Bittmann Holding GmbH | USt-ID: DE 811 202 181 > > > ************************************************************************************* > Dieses E-Mail ist nur f?r den Empf?nger bestimmt, an den es gerichtet ist und > kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material > enthalten. Jegliche darin enthaltene Ansicht oder Meinungs?u?erung ist die > des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von > BITO-Lagertechnik Bittmann GmbH dar. Sind Sie nicht der Empf?nger und haben > diese E-Mail irrt?mlich erhalten, sind jegliche Verwendung, Ver?ffentlichung, > Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail strengstens > untersagt. Jede ausgehende E-Mail wird von uns mit h?chster Sorgfalt auf > Viren gepr?ft. Jedoch ?bernehmen weder BITO-Lagertechnik Bittmann GmbH noch > der Absender (Patrick Hoffmann) die Haftung f?r Viren; es obliegt Ihrer > Verantwortung, die E-Mail und deren Anh?nge auf Viren zu pr?fen. > > This email is exclusively meant for the addressee and may contain > confidential information or information which can be classified as > professional secret. Any view or opinion stated in this email is that of the > author and does not necessarily represent the view or the opinion of > BITO-Lagertechnik Bittmann GmbH. If you are not the addressee and if this > email has been transmitted to you by mistake, you may not make use of, > publish, transmit, reproduce or print the information contained therein for > whatever purpose. We take every reasonable care to check all out-bound emails > for viruses. However, neither BITO-Lagertechnik Bittmann GmbH nor the sender > (Patrick Hoffmann) can be held liable for the occurrence of viruses and any > consequential damages. It is therefore the addressee's sole responsibility to > check incoming emails and attachments for viruses. > ************************************************************************************* > Anh?nge: > Versand am 15.01.2015 11:17 von Patrick Hoffmann > > _______________________________________________ > Devel mailing list > Devel@owncloud.org > http://mailman.owncloud.org/mailman/listinfo/devel >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Devel mailing list Devel@owncloud.org http://mailman.owncloud.org/mailman/listinfo/devel