Does not translate the texts

good afternoon,

I have installed two ownclouds in which they have stopped translating the platform to the default language of the browser, that is, if the user has the Castilian language in the browser that when you enter the platform it translates it automatically. The only thing that I have changed is the language of the files in the following path: / core / templates / lostpassword. Can someone tell me which files are the ones that execute the translations?

Thanks a lot.

A greeting.

Hi,

Translation files can be found in apps/myapp/l10n
You will find there .js, .json, .php and .po files…
You just need the .php, .json and .js files for a working localized app.

I hope this helps

Hi,

Thank you very much for your answer. The folder that you mention myapp, I cannot locate it within apps.

Could you tell me exactly?

My problem is that it has stopped translating the web depending on the language of the browser Chrome, Mozzilla, Edge …
Might you help me?

A greeting.

Hi,

apps/myapp/l10n here I mean it depends on the app for example ;

Let’s assume that the ownCloud directory is /var/www/owncloud and that it uses ownCloud’s standard apps directory, app .
Then the translation files will be under /var/www/owncloud/apps/

translations for the Comments app under /var/www/owncloud/apps/comments/l10n
translation for the market app under /var/www/owncloud/apps/market/l10n
translation for the federation app under /var/www/owncloud/apps/federation/l10n
etc…

What owncloud version are you using ?And are you able to change the language of the platform using the personal settings of the connected user ?

Thanks

1 Like