Missing translation strings

Home Forums Modern Missing translation strings

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21909
    DaanVn
    Participant

    Missing translation strings

    Resolved

    Hey there! Have you noticed this support service is provided FREE of charge?
    If you like the speed and accuracy of resolutions, please consider supporting me with a small donation. Thank you

    Consider a donation →

    Though it looks like the Modern theme supports translation (see line 34 link-front-blog.php), the actual call to trigger translations (_e();) seems to be missing. Or might I be missing something?

    Note: the same for the “more-link” in link-more.php, line 19. And maybe some other places as well.

    Hope to hear from you soon.

    Regards, Daan.

    #21910
    Oliver Juhas
    Keymaster

    Hi Daan,

    Please note there is nothing wrong in those files. All the translation strings are available for translation, including the ones you mention.

    Please note that _e() function is only one of multiple localization functions WordPress provides. In the theme files you mention, there is actually a esc_html_x() and esc_html__() used instead. Which is perfectly fine :)

    For instructions on how to translate/localize the theme, please check the theme documentation.

    Tip: Actually all themes available for free via WordPress themes repository has to be translatable, so you can rest assured my themes are no exception :)

    Maybe you get confused due to All %s »? If so, then please note there is a translation note left in the code telling you exactly what the %s stands for in the code so you can translate it properly. Your translation software should display this note/comment somewhere when translating this specific string (please check your translation software documentation for more info).

    Best regards,

    Oliver Juhas
    WebMan Design

    • This reply was modified 2 months, 1 week ago by Oliver Juhas. Reason: Adding localization functions reference
    #21912
    DaanVn
    Participant

    Hi Oliver,

    Thanks for your fast response. It looks like there’s always something to learn :-).

    Regards,

    Daan

    • This reply was modified 2 months ago by Oliver Juhas. Reason: Making the post public as there is no sensitive information shared
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.