Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1572724
Localization trouble
Closed

Comments

  • filizinadresi started the conversation

    As per request in item's comments section I am opening a ticket , the original message is below:

    Hi, I have been using the theme for a website and everything was going quite well but when I tried to translate some the elements via editing po files, I saw that many of the strings used in the website are hardcoded to php files (like search widget in vertical menu, or the "about author" under posts, even "more posts by author" or "related posts") and not translatable by acceptable means.

    Am I missing something here? Because if these strings are only translatable by editing php files thats quite a big flaw on an otherwise fine theme.

    I would also add search results page title to the above examples.

  • [deleted] replied

    Hi,

    Please check:

    <?php esc_html_e('/ About Author', 'thegem'); ?>
    <?php printf(esc_html__('More posts by %s', 'thegem'), $user_data->data->display_name); ?>
    <?php esc_html_e('Related Posts', 'thegem'); ?>