Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Topic: Thematic in Greek / Το Thematic στα ελληνικά http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Sat, 30 May 2015 20:32:19 +0000 Chris on "Thematic in Greek / Το Thematic στα ελληνικά" http://forums.themeshaper.com/topic/thematic-in-greek#post-3072 Sat, 11 Apr 2009 13:27:50 +0000 Chris 3072@http://forums.themeshaper.com/ <p>Hey Demetris,</p> <p>.. solution is implemented in SVN revision 456<br /> .. Greek language files are implemented in SVN revision 457</p> <p>Try to use:<br /> <pre><code>$gs = THEMELIB . &#39;/library/languages/el.css&#39;;</code></pre> <p>Would be great if you could ask. I checked the core but haven't found anything else to define a non-default location.</p> <p>Cheers &#38; Thanks for your help!!</p> <p>Chris </p> demetris on "Thematic in Greek / Το Thematic στα ελληνικά" http://forums.themeshaper.com/topic/thematic-in-greek#post-3058 Fri, 10 Apr 2009 23:34:47 +0000 demetris 3058@http://forums.themeshaper.com/ <p>You have a solution for everything! :-D It works!</p> <p>Now I have a couple more questions:</p> <p>1. What is the best way to get the CSS URL? Now I’m using template_url:</p> <pre><code>&lt;?php function greek_typography() { $gs = get_bloginfo(&#39;template_url&#39;) . &#39;/library/languages/el.css&#39;; wp_enqueue_style(&#39;greek_style&#39;, $gs, &#39;&#39;, &#39;&#39;, &#39;all&#39;); wp_print_styles(&#39;greek_style&#39;); } add_action(&#39;wp_head&#39;, &#39;greek_typography&#39;); ?&gt;</code></pre> <p>2. I can ask in the bugtracker, if you want, to find out if there is a way to load [locale].php from a non-default location without using extra code.</p> <p>PS. You are free and welcome to add the Greek files to Thematic. (The reason I put them in my repository is that I find it easier to manage them this way.) </p> Chris on "Thematic in Greek / Το Thematic στα ελληνικά" http://forums.themeshaper.com/topic/thematic-in-greek#post-3049 Fri, 10 Apr 2009 19:37:30 +0000 Chris 3049@http://forums.themeshaper.com/ <p>Hey Demetris,</p> <p>what happens, if we put the following code:<br /> <pre><code>$locale = get_locale(); $locale_file = THEMELIB . &quot;/languages/$locale.php&quot;; if ( is_readable($locale_file) ) require_once($locale_file);</code></pre> <p>into Thematic's functions.php?</p> <p>Cheers,</p> <p>Chris </p> demetris on "Thematic in Greek / Το Thematic στα ελληνικά" http://forums.themeshaper.com/topic/thematic-in-greek#post-3027 Thu, 09 Apr 2009 21:43:00 +0000 demetris 3027@http://forums.themeshaper.com/ <p>It seems there is a way to deal with problem no. 2.</p> <p>I was reminded of it yesterday, thanks to a comment by Ryan Boren in the bugtracker:</p> <p>You can provide a PHP file along with the MO file, and it is loaded automatically and acts like a plugin. So, for example, for German the PHP file would be named:</p> <p>de_DE.php</p> <p>... and for Greek:</p> <p>el.php</p> <p>You can use this PHP file to add a stylesheet to the head or to do whatever you want, but I’m running into a small issue:</p> <p>The [locale].php file is loaded if it is in themes/thematic but NOT if it is in themes/thematic/library/languages</p> <p>Anyone knows anything about this?</p> <p>Cheers,<br /> Demetris </p> demetris on "Thematic in Greek / Το Thematic στα ελληνικά" http://forums.themeshaper.com/topic/thematic-in-greek#post-2783 Tue, 31 Mar 2009 22:43:59 +0000 demetris 2783@http://forums.themeshaper.com/ <p><a href="http://code.google.com/p/op109/source/browse/l10n/wp/thematic/trunk/el.po" rel="nofollow">http://code.google.com/p/op109/source/browse/l10n/wp/thematic/trunk/el.po</a><br /> <a href="http://code.google.com/p/op109/source/browse/l10n/wp/thematic/trunk/el.mo" rel="nofollow">http://code.google.com/p/op109/source/browse/l10n/wp/thematic/trunk/el.mo</a></p> <p>You can read about the translation (in Greek) here:</p> <p>Εξελληνισμός των WordPress 2.8 και Thematic 0.9<br /> <a href="http://op111.net/69" rel="nofollow">http://op111.net/69</a></p> <p>And see the Greek Thematic live here:</p> <p><a href="http://op109.net/" rel="nofollow">http://op109.net/</a></p> <p>~~~~~~~~~~~~~~~~</p> <p>The translation was in general easy and a pleasure, but I run into a couple of problems:</p> <p>1. The string “Thematic Options” is not translatable.</p> <p>2. text-transform:uppercase is not appropriate for Greek (because its output violates the rules of Greek orthography). So, users of the Greek translation will have to use Thematic with a child theme, to override the text-transform rules of the parent.</p> <p>That’s all,</p> <p>Cheers,<br /> Demetris </p>