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

Translation: Add empty nb_NO translation files #2849

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

ann0see
Copy link
Member

@ann0see ann0see commented Sep 12, 2022

Short description of changes

Adds nb_NO translation to Jamulus as requested by @comradekingu

CHANGELOG: Translation: Add nb_NO App translation

Context: Fixes an issue?

Raised on weblate.

Does this change need documentation? What needs to be documented and how?

Yes. Once the translation arrives the translator needs to be added to src/util.h

Status of this Pull Request

Ready for merge

What is missing until this pull request can be merged?

/

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@ann0see ann0see marked this pull request as ready for review September 12, 2022 15:37
@ann0see
Copy link
Member Author

ann0see commented Sep 12, 2022

We also need to add him to the org and multiple other places.

@hoffie
Copy link
Member

hoffie commented Sep 12, 2022

This would make nb_NO show up as a selectable language despite having no translations right now, correct?
Would it make sense to leave .qrc addition out of this PR and only add it once some amount of content has been translated?

@comradekingu
Copy link
Contributor

comradekingu commented Sep 12, 2022

@ann0see Unless it is the Weblate bot, I could add myself if there is a "Translator credit" string wherein it is possible to also write down an e-mail, so people can reach out.

@hoffie
I'll get right on it as soon as it is possible.
The results of requiring people to do this, and then adding translations directly via Git makes the software look less polished than what is at worst a selectable option with no translations for one version.

nb_NO will be given by the locale if available anyway, the selection is secondary.

@pljones
Copy link
Collaborator

pljones commented Sep 12, 2022

I'm proposing 3.10.0 for this.

@ann0see
Copy link
Member Author

ann0see commented Sep 12, 2022

I'm proposing 3.10.0 for this.

Why? I think translations are non blocking and having a translation of the most important parts is better than having none. Also they should go in as soon as possible

@ann0see
Copy link
Member Author

ann0see commented Sep 12, 2022

This would make nb_NO show up as a selectable language despite having no translations right now, correct?

Yes.

@hoffie
Copy link
Member

hoffie commented Sep 12, 2022

I'd be ok with adding everything what is necessary to make nb_NO show up for translation on Weblate, but keeping the language unlisted as long as there are no translations at all.

Once there are translations, I'm fine with making it usable from within Jamulus. I'm also fine with this going into 3.9.1 depending on the timing. I guess we wouldn't delay 3.9.1 for that though.

(We use Addition of translations which were too late to be included into the last release. as one acceptable type of change for patch-level releases such as 3.9.1; while this was initially meant to target the addition of translation strings of existing translated languages, I see no reason to "block" completely new translations based on that)

@pljones pljones added this to the Release 3.9.1 milestone Sep 12, 2022
@pljones
Copy link
Collaborator

pljones commented Sep 12, 2022

OK, seeing as it doesn't touch source and it can't break things, I guess there's no reason to delay it.

@ann0see
Copy link
Member Author

ann0see commented Sep 12, 2022

@comradekingu Could you please comment on #2758 with your suggestions about The Weblate process? Since we're quite new to it, it's probably worth getting insight from you.

@ann0see
Copy link
Member Author

ann0see commented Sep 12, 2022

Unless it is the Weblate bot, I could add myself if there is a "Translator credit" string wherein it is possible to also write down an e-mail, so people can reach out.

No. That's another step we need to do via git: Add yourself to util.h as translator

@@ -14,6 +14,9 @@
<qresource prefix="/translations">
<file alias="translation_es">translation/translation_es_ES.qm</file>
</qresource>
<qresource prefix="/translations">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we'd remove this to not let the translation show up?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would work, yes (at least that was the effect when we forgot adding it for Korean, I think?).

So, yes, either that. Or go with the PR as-is and add a reminder to the 3.9.1 checklist to remove that part again if no translations have been integrated at release candidate time.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or go with the PR as-is and add a reminder to the 3.9.1 checklist to remove that part again if no translations have been integrated at release candidate time

I'd go with that since I understood @comradekingu that he'll start translating right away.

Copy link
Member

@hoffie hoffie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on the previous comments.
@ann0see Please add a reminder to #2813 wrt removal of nb_NO if no translations have been integrated at RC stage.

@ann0see
Copy link
Member Author

ann0see commented Sep 13, 2022

@hoffie done.

@pljones pljones mentioned this pull request Sep 13, 2022
5 tasks
@ann0see
Copy link
Member Author

ann0see commented Sep 13, 2022

@pljones feel free to merge this.

@pljones pljones merged commit 6f8f614 into jamulussoftware:master Sep 13, 2022
@ann0see ann0see deleted the translation/addNB_NO branch September 14, 2022 07:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants