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

Wagtail Localization #6703

Closed
50 of 57 tasks
KalobTaulien opened this issue May 17, 2021 · 1 comment
Closed
50 of 57 tasks

Wagtail Localization #6703

KalobTaulien opened this issue May 17, 2021 · 1 comment

Comments

@KalobTaulien
Copy link
Contributor

KalobTaulien commented May 17, 2021

Epic for Wagtail Localization. The spike ticket can be found at #6671

All the below tasks are split into tickets in this epic, with the step number in the title so we don't get too far ahead of ourselves and need to spend time backtracking.

The localization branch we're using in this repo is the wagtail-localize-2021 branch. Note: Please keep the original wagtail-localize branch as it has code we may want to reference in there while we work on localization.

Helpful resources:

Steps needed to [re]implement wagtail-localize

TRACKING DEPLOYMENT ISSUES

Use #7233 to report any issues you find while we're stage testing.

Merge requirements

Pre-deploy steps

  • run through https://www.wagtail-localize.org/how-to/integrations/pontoon for prod:
    • Generate an SSH keypair for Wagtail Production (see vault)
    • Add the public key (wagtail-localize-key.pub) as a deploy key for the l10n repo
    • Add the SSH private key as BASE64-encoded heroku env var
    • Configure the wagtail-localize-git plugin vars
  • send out notification to staff
  • create an explicit database snapshot for emergency rollsbacks
  • promote staging to production

Post deploy steps (#6713)

  • Create new locales in the settings
  • Run sync_locale_trees
  • create sync locale "cron job" using heroku scheduler
  • Start translating content (Theo)!
  • finalize this epic by tearing down the foundation-localize heroku app

Things we'll need to secure before getting started:

  • Time from Pomax for code review.
  • Possibly Karl for Pontoon integration support
  • Tom Usher for Devops setup
  • Theo for translation support
  • Kalob for doing the work

Helpful code snippets for future reference:

from wagtail_localize.fields import TranslatableField, SynchronizedField
class Model(Page):
    translatable_fields = [
        TranslatableField('title'),
        SynchronisedField('slug'),
        ...
    ]
@Pomax
Copy link
Contributor

Pomax commented Mar 30, 2022

this epic was closed out long ago, any outstanding work should be new issues.

@Pomax Pomax closed this as completed Mar 30, 2022
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