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

feat: store language in metadata #316

Merged
merged 7 commits into from
Mar 11, 2020
Merged

feat: store language in metadata #316

merged 7 commits into from
Mar 11, 2020

Conversation

greatislander
Copy link
Collaborator

@greatislander greatislander commented Mar 9, 2020

Description

This pull request moves resource language into a metadata field, making resources no longer translatable through Polylang. This necessitates migrating that data using the included script.

Steps to test

  1. Check out this branch.
  2. Run the language conversion script.

Expected behavior: Verify that all resources have a two-character language code saved as the language meta key and that it is correctly displayed in the main info block of the resource editor.

Additional information

Not applicable.

Related issues

Not applicable.

@greatislander greatislander self-assigned this Mar 9, 2020
@greatislander greatislander added the enhancement New feature or request label Mar 9, 2020
@greatislander greatislander added this to the 1.0.0-alpha.3 milestone Mar 9, 2020
@greatislander greatislander merged commit ab499a8 into dev Mar 11, 2020
@greatislander greatislander deleted the add/language-field branch March 11, 2020 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants