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

Manage different translation URL format #12

Open
maximejobin opened this issue Jun 16, 2019 · 3 comments
Open

Manage different translation URL format #12

maximejobin opened this issue Jun 16, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@maximejobin
Copy link
Contributor

These URLs should be supported:

The same behavior applies to plugins. Validate for meta and apps.

@maximejobin maximejobin added the enhancement New feature or request label Jun 16, 2019
@cedricus
Copy link

All three examples in README.MD are not working including for meta (ios and wordcamp).

C:\xampp\php\www\wordpress>wp po merge fr-ca fr https://translate.wordpress.org/locale/fr-ca/default/wp-plugins/wordpress-seo/
Error: The URL type could not be detected.

C:\xampp\php\www\wordpress>wp po merge fr-ca fr https://translate.wordpress.org/locale/en-ca/default/apps/ios/
Error: The URL type could not be detected.

C:\xampp\php\www\wordpress>wp po merge fr-ca fr https://translate.wordpress.org/locale/fr-ca/default/meta/wordcamp/
Error: The URL type could not be detected.

@maximejobin
Copy link
Contributor Author

You should use, for now, the plugins homepage. This is a regression bug that was introduced in a previous update.

@maximejobin
Copy link
Contributor Author

The middle example you gave will not work because fr-ca doesn't have strings for the iOS app.

The next commit will fix the bug.

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

No branches or pull requests

2 participants