Page MenuHomePhabricator

Add wmcz web to translatewiki.net
Closed, ResolvedPublic

Description

Project setup checklist

Project information

Name: Wikimedia Czech Republic's website
Website: https://test.wikimedia.cz/ / https://wikimedia.cz/

Project description:

Project page:

Project configuration (for translation admins)

Namespace: NS_WIKIMEDIA
ID: wmcz-web, wmcz-web-theme, wmcz-web-plugin
Mangler prefix: wmcz-web-theme-, wmcz-web-plugin-
Validators:

  • InsertableRegex: /%\([a-z0-9_]+\)[sd]/
  • InsertableRegex: /%[sd]/
  • GettextNewline
  • GettextPlural
  • HtmlInsertable (Insertable)

Event Timeline

Change 636189 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[translatewiki@master] Add translation configuration for Wikimedia Czech Republic's website

https://gerrit.wikimedia.org/r/636189

Nikerabbit renamed this task from Integrate Translatewiki.net for interface texts to Add wmcz web to translatewiki.net.Oct 27 2020, 3:39 PM
abi_ triaged this task as Medium priority.Nov 2 2020, 12:04 PM
abi_ updated the task description. (Show Details)

@abi_ I created https://translatewiki.net/wiki/Translating:WMCZ_Web and added the section to Group descriptions.

I have already granted the necessary access to both wikimedia-cz/web-theme and wikimedia-cz/web-plugin, see https://gerrit.wikimedia.org/r/admin/repos/wikimedia-cz/web-theme,access and https://gerrit.wikimedia.org/r/admin/repos/wikimedia-cz/web-plugin,access respectively. Note that the submit permission is inherited from the parent project's access list.

I'm not sure what should I provide for the "Activity" field - this is an active migration from our MW-based website at https://wikimedia.cz to a new (WP-based) site, which can be previewed at https://test.wikimedia.cz, that is lead by the chapter.

Let me know if I should do anything else.

Best, Martin Urbanec

Change 636189 merged by jenkins-bot:
[translatewiki@master] Add translation configuration for Wikimedia Czech Republic's website

https://gerrit.wikimedia.org/r/636189

Change 638437 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] WcmzWebsite: Move TEMPLATE declaration to the top

https://gerrit.wikimedia.org/r/638437

Change 638437 merged by jenkins-bot:
[translatewiki@master] WcmzWebsite: Move TEMPLATE declaration to the top

https://gerrit.wikimedia.org/r/638437

@Urbanecm - We've deployed the patches on the twn server but are having problems with empty groups.

We detect pot-mode by parsing the .pot file header, and looking for a fuzzy tag.

Something similar to this: https://github.com/dissemin/dissemin/blob/master/locale/django.pot#L6

This will need to be added to the pot files in both the repositories.

Change 638526 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[wikimedia-cz/web-plugin@master] Add fuzzy marker to wmcz-plugin.pot

https://gerrit.wikimedia.org/r/638526

Change 638527 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[wikimedia-cz/web-theme@master] Add fuzzy marker to wmcz-theme.pot

https://gerrit.wikimedia.org/r/638527

Change 638527 merged by jenkins-bot:
[wikimedia-cz/web-theme@master] Add fuzzy marker to wmcz-theme.pot

https://gerrit.wikimedia.org/r/638527

Change 638526 merged by jenkins-bot:
[wikimedia-cz/web-plugin@master] Add fuzzy marker to wmcz-plugin.pot

https://gerrit.wikimedia.org/r/638526

@abi_ Sure, I agree that should be done. I'm not sure how to do that through. https://www.mediawiki.org/wiki/Help:Extension:Translate/Group_configuration#TAGS has something about ignoring message, but I'm not sure how the message ID is determined.

In case of Gettext it's complicated, You would need to look it up from translatewiki.net and copy-paste.

Change 638980 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] WcmzWebsite: Add strings to ignored list

https://gerrit.wikimedia.org/r/638980

Change 638980 merged by jenkins-bot:
[translatewiki@master] WcmzWebsite: Add strings to ignored / optional list

https://gerrit.wikimedia.org/r/638980

Change 639196 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] WcmzWebsite: Use _ for " ", and move ignored message from plugin to theme

https://gerrit.wikimedia.org/r/639196

Change 639196 merged by jenkins-bot:
[translatewiki@master] WcmzWebsite: Use _ for " "; move ignored string from plugin to theme

https://gerrit.wikimedia.org/r/639196

Change 639411 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] WcmzWebsite: Fix ignored message key

https://gerrit.wikimedia.org/r/639411

Change 639411 merged by jenkins-bot:
[translatewiki@master] WcmzWebsite: Fix ignored message key

https://gerrit.wikimedia.org/r/639411

Via series of patches, strings have been added to the ignored / optional list.

Moving to recheck after deployment. Will run exports today, and if all goes well, can mark this as done.

Change 639527 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] WcmzWebsite: Add web-plugin to automerge

https://gerrit.wikimedia.org/r/639527

Change 639527 merged by jenkins-bot:
[translatewiki@master] WcmzWebsite: Add web-plugin to automerge

https://gerrit.wikimedia.org/r/639527

Change 639587 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[translatewiki@master] WcmzWebsite: Add ^ to auto-merge to trigger regex engine

https://gerrit.wikimedia.org/r/639587

Change 639644 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[integration/config@master] Add gate-and-submit-i18n for wikimedia-cz/web-*

https://gerrit.wikimedia.org/r/639644

Thanks for the reminder, pushed an integration patch, which should be the only missing part.

Change 639644 merged by jenkins-bot:
[integration/config@master] Add gate-and-submit-i18n for wikimedia-cz/web-*

https://gerrit.wikimedia.org/r/639644

Change 639587 merged by jenkins-bot:
[translatewiki@master] WcmzWebsite: Add ^ to auto-merge to trigger regex engine

https://gerrit.wikimedia.org/r/639587

abi_ updated the task description. (Show Details)

Auto merge, and i18n checks are running properly now. Also updated the project page with the general template.

Marking this as done.

Fixed by https://gerrit.wikimedia.org/r/c/wikimedia-cz/+/644222. I do not maintain wikidata repo, not sure why it is mentioned here.

For comparison.