• Resolved versenke

    (@versenke)


    Hello,

    We have encountered a problem with WP User Manager, some fields cannot be picked up via strings with localization plugins such as Loco Translate. We’re also using the qTranslate-XT plugin for translating text fields. We use WordPress version 5.2.

    The fields in question are in Russian, we’re trying to make it possible to translate the fields to English and Estonian.
    https://puu.sh/HLoei.png
    https://puu.sh/HLohb.png

    Any sort of help is appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author WP User Manager

    (@wpusermanager)

    @versenke as those strings are stored in the database so it’s a bit trickier to translate with Loco. The plugin has WPML integration, but you can get round it by adding your field names to a custom MO file and adding this to your functions.php file or mu-plugin

    <?php
    
    add_filter( 'wpum_get_field_name', function ( $name ) {
    return esc_html__( $name, 'wp-user-manager' );
    } );
Viewing 1 replies (of 1 total)

The topic ‘Translating fields for multilingual site’ is closed to new replies.