• Resolved TMNR

    (@tmnr)


    Hi,
    I’ve read the Codex, multiple third party tutorials and haven’t come by one that explains how to properly update a theme’s .po file on a live site.

    Say an additional translatable string is added to the footer of a theme that has internationalization support:

    <?php printf( __( 'Some string', 'text-domain' )?>

    What is the proper action sequence to get the .po file scan the footer.php and include the string?

    My preferred way of handling .po’s, is with POEdit.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The theme and all plugins need to provide support for the language.

    The code is added to the file used by the theme to output in HTML the footer, typically footer.php.

    Language support varies for many reasons. Can you please provide additional and detailed information about your sites?

    Thread Starter TMNR

    (@tmnr)

    I’m making my own theme based on _s. I can’t say that I’m super-advanced, but usually I know my way around and know how to read Codex. This issue has been bugging me for a long time now.

    Also I just updated my POEdit and apparently now there’s is a Paywall for such WordPress functionality (or am I missing something?). What are my options?

    Thread Starter TMNR

    (@tmnr)

    Since no one is able to assist me with updating a theme translation, I downgraded my POEdit to 1.4.6 and did as usual.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update theme internationalization on live site’ is closed to new replies.