• arkabucio

    (@arkabucio)


    There are some texts at the bottom of the player (like ‘download’ or ‘play in a new window’), that never get translated. We are using WPML plugin for translating.

    We found the POWERPRESS_PLAY_IN_NEW_WINDOW_TEXT
    constant in powerpress-player.php file, that is defined in powerpress.php file:54, but this file is loaded early by WordPress, and there is no way for WPML to set the locale. So, this code always show the text in the default locale:

    if( !defined('POWERPRESS_PLAY_IN_NEW_WINDOW_TEXT') )
            define('POWERPRESS_PLAY_IN_NEW_WINDOW_TEXT', __('Play in new window', 'powerpress') );

    How can I get the player strings translated?

The topic ‘PowerPress player translation’ is closed to new replies.