rookie0 / nextcloud-sharing-path

🌩 Nextcloud app to enhance files sharing to be accessed by stored path, can be used as CDN origin.
GNU Affero General Public License v3.0
47 stars 11 forks source link

Support localization #47

Closed p-bo closed 1 year ago

p-bo commented 1 year ago

Hello, Would it be possible to follow instructions on: https://docs.nextcloud.com/server/latest/developer_manual/basics/front-end/l10n.html ...and make your app more accessible for non-English speakers please?

Thanks :-)

rookie0 commented 1 year ago

Already have basic support.

p-bo commented 1 year ago

@rookie0 That's great - would it be possible to hint, where to add translations then please (l10n directory with any .js and .json files seems to be not present)?

p-bo commented 1 year ago

@rookie0 sorry for bothering with this, but would it be possible to explain that basic support please (to be able to use it as translators)?

rookie0 commented 1 year ago

@p-bo See https://github.com/rookie0/nextcloud-sharing-path/blob/master/templates/settings/personal.php#L49(except the notice info), https://github.com/rookie0/nextcloud-sharing-path/blob/master/js/script.js#L18

This use nextcloud default translation, and you can add translations follow this https://docs.nextcloud.com/server/latest/developer_manual/basics/front-end/l10n.html#manual-translation.