Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write translations of strings, extracted from info.xml (name, summary and description) back to info.xml #516

Open
p-bo opened this issue Feb 23, 2023 · 0 comments

Comments

@p-bo
Copy link

p-bo commented Feb 23, 2023

(logical continuation of #93)

It is exactly, as former dev is stating there: nextcloud/appstore#691 (comment)

Result should be as can be seen for example in info.xml file from this file:

https://github.com/julien-nc/cospend-nc/releases/download/v1.5.8/cospend-1.5.8.tar.gz

(no link to git repo, because in this case is file created during release trough script https://github.com/julien-nc/cospend-nc/blob/main/l10n/descriptions/gen_info.xml.sh - probably due different translation platform used)

Idea is to mark somehow (some identifier into notes to string perhaps? As is done for .vue files) these strings, found in info.xml, during scrapping from source code for source strings to Transifex and then write their translation during sync from Transifex to app repo not (only) into .js .json files in l10n dir, but instead to (or at least also) into appinfo/info.xml (as in mentioned example).

This way translations of name, summary and description will be used at all in app store and apps.nextcloud.com (as is in mentioned example with app Money Buster). Translations are log time already done, so effect on user experience would be intermediate...

Thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants