plone / plone/plone.app.testing

Allow test of overwriting translations of plone domain

Open
#17 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
7
Avg merge
1d 11h
Merged PRs (30d)
3

Description

If I create a product that overrides translations of domain plone following this documentation, I can't test the translations overwritten.

This is because the plone.app.testing always loads the zcml of the Products.CMFPlone (which in turn loads the zcml of the plone.app.locales) before of zcml of my product.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with plone.app.testing's ZCML setup and trace how Products.CMFPlone loads the plone.app.locales ZCML before the product under test. Use the linked internationalisation documentation for the intended override behavior. Done means a product overriding the plone domain translations can load its test setup and verify those translations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
internationalization, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.