Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Register page multiple languages | Event Espresso - Staging Server

Support

Home Forums Translations Register page multiple languages

Register page multiple languages

Posted: January 22, 2013 at 2:17 am

Viewing 1 reply thread


rgroot

January 22, 2013 at 2:17 am

Dear,

Since it’s not yet possible to use multiple languages for the entire plugin i have the following question.

Our customer like to have at least the registration page multiple languages (English and Dutch). Is there a smart and easy way to do this?

The problem that I see is that all fields on the registration page are dynamicly rendered out of the settings in the back-end, how can we do this?

Thanks in advance!


Dean

  • Support Staff

January 22, 2013 at 6:15 am

Hi,

If you mean having both languages on the page at the same time, one way to do it would be to edit the template fo duplictae the strings (words/phrases) but not translate them.

You would need to search the file for __( or _e( both of which prefix translatable strings.

E.g. This will show the word Description, but will be translated if the site is set up for a language other than American English.

If you were to add on to that it would show both

   Description:

Or in the case of a variable

$price_label = ''.__('Choose an Option: ', 'event_espresso').'';

would become

$price_label = ''.__('Choose an Option: ', 'event_espresso').'';
$price_label = $price_label . 'Choose an Option: ';

It is by far from an ideal solution but with a little time and testing it could look OK.

An example using German http://d.pr/i/SqDl

Viewing 1 reply thread

The support post ‘Register page multiple languages’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Post any questions about the language files, translating Event Espresso, or issues with our GlotPress site for translations here.

Status: closed

Updated by Dean 11 years, 12 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Event Espresso - Staging Server