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

Segment context #36

Closed
wants to merge 25 commits into from
Closed

Segment context #36

wants to merge 25 commits into from

Conversation

kaedroho
Copy link
Contributor

@kaedroho kaedroho commented Dec 29, 2019

This adds context to segments which would allow a source string to be translated in different ways for different pages/fields.

Fixes MozillaFoundation/donate-wagtail#563

@kaedroho
Copy link
Contributor Author

@kaedroho kaedroho force-pushed the segment-context branch 2 times, most recently from 6ec8069 to 55b0aab Compare January 1, 2020 18:34
@kaedroho kaedroho force-pushed the segment-context branch 3 times, most recently from 2ec03d4 to 2a12dfd Compare January 2, 2020 13:22
These aren't stable between revisions. Removing them would allow us to
use the content path as segment context as it would no longer change
whenever a new paragraph is added.
@kaedroho kaedroho force-pushed the segment-context branch 3 times, most recently from 329c6b6 to 1810d5d Compare January 2, 2020 13:52
@kaedroho kaedroho changed the title WIP: Segment context Segment context Jan 3, 2020
@kaedroho
Copy link
Contributor Author

kaedroho commented Jan 6, 2020

Superseded by #41 and wagtail/wagtail-localize-git#3

@kaedroho kaedroho closed this Jan 7, 2020
@kaedroho kaedroho deleted the segment-context branch January 7, 2020 16:59
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.

Wagtail edits translations of the same source string across files when they differ in the target language
1 participant