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

Making _x translatable text work #57

Merged
merged 1 commit into from Aug 27, 2014
Merged

Making _x translatable text work #57

merged 1 commit into from Aug 27, 2014

Conversation

lucspe
Copy link
Contributor

@lucspe lucspe commented May 19, 2014

Hi,

I've noticed that translatable text that uses _x does not seem to work correctly (for example, the "Create Redirect Rule" button).

What I did to fix this in my installation was:

  1. Add the textdomain to the 3 _x translatable text (see pull request)

  2. In the .po file the context (msgctxt) needs to be manually added if you're using POEdit as it doesn't seem to be able to extract it from source when the context is defined as $this->redirect_post_type (so I manually had to add msgctxt "redirect_rule").

Hope it is helpful

tlovett1 added a commit that referenced this pull request Aug 27, 2014
Making _x translatable text work
@tlovett1 tlovett1 merged commit 2413e1b into 10up:master Aug 27, 2014
jameswburke pushed a commit to alleyinteractive/safe-redirect-manager that referenced this pull request Jul 24, 2019
…dar-Plugin

Add the events calendar plugin
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.

None yet

2 participants