• Resolved Jimmy

    (@jayem82)


    I am using the Language switcher plug in.

    It automaticly translates some of my content, like “pages”, “categories”, “archive” and dates with more.

    But some things do not get translated.

    I want to know how to translate the “posted in”, “read the rest”, “blogroll” to start with.

    Also, how to delete the “Language” title in the sidebar for Language Switcher widget. And not to list the flags, just pot them side by side.

    Looking forward with some help =)

    My blog is at https://www.jayem.se

Viewing 9 replies - 1 through 9 (of 9 total)
  • well there are a few plugins that translate, but all they do is send your url to google or babble fish translation site, so that site is actually doing the work and the blog is no longer involved. Look at it as a proxy the read your page, then translated it to another language, then sent the output to the browser.

    You can’t control portions to NOT translate,or translate ONLY this text since what is diplayed in the blog or any website is sent to the translation website and it does the work.

    Thread Starter Jimmy

    (@jayem82)

    I do not want my blog to be translated automaticly.

    I have written my posts in different languages myself with the lang_en and lang_se tag around them.

    What I meant with translated automaticly was because I am using a .po file for this, someone with experience of the Language Switcher plug in maybe can help me with my problems.

    jayem, disregard iscifi’s post – it’s a complete nonsense…

    Read the FAQ at the plugin’s page: https://poplarware.com/languageplugin.html

    not nonsense for translator plugins that pump the blog through an outside site.

    I see this plugin requiring more than just install! Including https://codex.www.ads-software.com/Translating_WordPress which can be over most people heads, then again I don’t know how much this person knows about PHP or wordpress.
    Also you then run a translation tool, to create the localized files that are then place in your languages directory.

    ok I should run over to the plugin page and read more, you got me on that…

    I would like to have a Moderator have less of the EGO come out in a free support forum.

    Cheers

    And I would like helpers that check out the OP’s site, check out the specific plugin page (not assuming!), knowing where to find the proper resource (the last one you gave is again unrelated)…

    It is OK if you don’t do any of the above. But then don’t post misleading information. It’s not my ego: I will always be very severe with anybody giving wrong, false, misleading information. Period.

    Thread Starter Jimmy

    (@jayem82)

    Thx moshu!

    Well it seems as too much work for me to translate.

    I guess I’ll wait until someone has translated wordpress 2.2 in swedish instead.

    The WP translation works on your blog.
    However, your theme is NOT translated: themes need their own .mo files in order to appear in the language you want. The examples you gave (posted in, read mroe etc.) are coming from the theme template files, not from WP itself!
    See more:
    https://boren.nu/archives/2004/11/01/localizing-plugins-and-themes/

    Thread Starter Jimmy

    (@jayem82)

    Oh I see.

    So how do I translate the theme im using? And how to connect the translated theme to language switcher?

    Let’s say I want to translate the “Posted In” text below my posts.

    The string in my index.php looks like this:

    <p class=”postmetadata”>Posted in <?php the_category(‘, ‘) ?>

    How should it look after I translated it? What and where do I add one of the __ or _e ?

    Thanks very much for your support moshu, I am very greatful for these kind of users.

    Cheers!

    Thread Starter Jimmy

    (@jayem82)

    Hey!

    I just figured out everything.

    All I had to do was to define the path in poedit, and the program updatedes everything based on the gettext code.

    But is there a way to edit the .po and .mo file directly on the server?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Language switcher’ is closed to new replies.