• I’ve just updated my WordPress-Theme Relaxation. It is now completely using the built-in gettext()-function and can easily translated to other languages by modifying the *.po-file.

    It would be great if someone could translate the language-file in his native language, so that I can add it to the package and make it useful for more and more people. If you have questions regarding this issue, don’t hesitate to contact me.

    Thanks,

    John

Viewing 15 replies - 1 through 15 (of 25 total)
  • Hey, thanks! Love the theme…. still using it at Whispers on an Ancient Wind….

    I’ve been using the Relaxation_3column theme. Do you think what you’ve done would be easily transferable to it?

    Thread Starter jowra

    (@jowra)

    It should be transferable. Problem is, that you can’t just copy the gettext()-preparated files of my version to the 3 column-theme.

    But I will download the 3 column-theme and have a look at the differences.

    The *.po-file should be usable anyway, you just need to prepare the template-files.

    Excellent theme however when I try to view my local site after changing to the theme I get:

    Fatal error: Class ‘CachedFileReader’ not found in C:\Server\xampplite\htdocs\wordpress\wp-includes\wp-l10n.php on line 72

    I get the same problem

    Me too. Using WordPress 2.0.

    Found out how to fix it. Edit wp_config.php and change line 15 so it reads

    define (‘WPLANG’, ‘en_US’);

    Just found another bug. If you display the page for posts by category or date then links show as plain text.

    Thread Starter jowra

    (@jowra)

    Oh sorry, not mentioned the thing with the wp-config.php. I will edit the readme.txt and make this more clear.

    Simon, I will check this.

    Thread Starter jowra

    (@jowra)

    Okay, so the first one (setting the ‘WPLANG’-definition in wp_config.php) isn’t really a bug. If english isn’t your native language you usally set this variable after a new wordpress installation (e.g. I’m german and set this thing to de_DE). You english-speaking guys just have the luck, that nearly all themes are not localized and are written in english. 😀

    But I will check if there is the possibility to set a default language for multilanguage-themes…

    But I can’t reproduce the second ‘bug’ mentioned by simon. Since the category-archive and the monthly archives are using the_excerpt() function (like the wordpress default theme), usally no links or images should appear on those pages. I’ve just tested this with a clean fresh installation, no problems here.
    Simon, are you using a plugin like “Textile” and/or “Text-Control”? Anyone else having this problem?

    Can’t help you there, I change all the_excerpt calls to the_content.

    I’ve just tried the default theme and it displays links and images when an archive page is selected. When I use the relaxation theme they don’t appear. I’m not using any plugins. However reading about the_excerpt() function on http://codex.wordpress.org/Template_Tags/the_excerpt then this is meant to happen.

    The default theme leaves them in? Maybe relaxation is behaving correctly and the default theme is wrong?

    Thread Starter jowra

    (@jowra)

    >>The default theme leaves them in? Maybe relaxation is
    >>behaving correctly and the default theme is wrong?

    No, I think they changed it in v2.0. In v1.5 the archive-pages used the_excerpt(). Now they use the_content().

    So if you like to see the archive-pages with links and images, just change the line:

    <?php the_excerpt() ?>

    to

    <?php the_content() ?>

    in the file: archiv.php.

    Shure I can change that in the theme, but I’m not shure what people like more. I think the archive-pages should give a quick overview over the postings of a category or a given time. And if you want to read of a specific post, then you “open” it via a click of the header and view it at the single-page. Should I change the_excerpt() function to the_content() ? Hm… thinking about it.

    No, I think they changed it in v2.0. In v1.5 the archive-pages used the_excerpt(). Now they use the_content().

    I didn’t even notice it till now. But I never used the default.
    Now I am sure that will cut the number of questions like “where are my links, images in mnthly archives… etc” –
    though judging by simonwarren’s post it will increase the “why my posts are shown in full in the archive”-type of posts around here.

    Yes, I know: you can never please everybody.

    Thread Starter jowra

    (@jowra)

    *g*

    You’re right moshu, I think most of the people would like to see the whole posting with all links and images. That’s what they expect… 😉

    I will change the theme that way…

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Relaxation-Theme – Multilingual’ is closed to new replies.