Support » Theme: Duster » Duster theme: translation just won't show…

  • Hi guys,

    I’m setting up a self-hosted German website using the Duster theme and I’m working on the translations of some of the functions such as navigation, commenting, etc.

    I managed to get most of the code translated using the Code Styling Localization plugin, and they all show where they’re supposed to, but there’s one translation that the plugin didn’t catch (“Leave a reply” in the comment box at the bottom of the page). I used the localization tool in the settings section of the dashboard and I can type the replacement but it just won’t show.
    I didn’t want to mess with the files but I even tried searching all of the php files to manually change the text shown but I couldn’t find anything… what could I have overlooked? Is there anything else I absolutely have to adjust to make the translated text show up?

    I don’t have a coding background and basically just read up on most of the coding and such that I copied, pasted, made minor adjustments to to set up the site – so please, if you do have a tweak or trick for me, break it down for a non-techie 🙂

    Thanks a lot for your help in advance!


Viewing 5 replies - 1 through 5 (of 5 total)
  • Michelle Langston


    Theme Wrangler at Automattic

    Hi there, are you by chance using the Jetpack comment form? If so, please see this thread for more information:

    Hi chelly, I’m using the regular comment form that came with the theme. Would the Jetpack comment form be a good workaround for my problem?

    Moderator Kathryn


    Automattic Happiness Engineer

    Hi there, I’m not sure why that string isn’t being saved correctly through your plugin. Here are the Duster theme files where the words “Leave a reply” are included, in case you want to change the text directly there:


    The code looks like this:

    <span class="comments-link"><?php comments_popup_link( __( '<span class="leave-reply">Leave a reply</span>', 'duster' ), __( '<b>1</b> Reply', 'duster' ), __( '<b>%</b> Replies', 'duster' ) ); ?></span>

    Just a heads-up that the best way to make changes to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:

    Thank you, Kathryn. I re-checked and I had already changed the text in all of those files and still my translation is not saved.

    I’m facing another problem with the sidebar that I can’t seem to add to all of my pages… so I just might restart, switch themes and create a child theme :-/

    Moderator Kathryn


    Automattic Happiness Engineer

    If you’ve hard-coded in the German phrase in those files and they’re still not showing, Codestyling Localization (and its problematic saving of the “leave a reply” text) may be overriding those changes.

    Does the translation work with a default theme? You may actually want to check out Twenty Ten, which was actually the successor to Duster and is quite similar.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duster theme: translation just won't show…’ is closed to new replies.