Posts by sagive

4 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Israel
sagive says
try this: http://www.free-patterns.info

The author actually states you can use the patterns for templates you build :)

Hope this helps.

4 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Israel
sagive says

Very cool @wpCanyonThemes helped me a lot – thanks ;)

4 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Israel
sagive says

My Apologies for the re-post.. got here to late to edit.. i was missing this for a plugin

$my_translator_domain   = MY_TEXT_DOMAIN;
$my_translator_is_setup = 0;
function fabfunc_setup(){
  global $my_translator_domain, $my_translator_is_setup;
  if($my_translator_is_setup) {
    return;
  }
  load_plugin_textdomain($my_translator_domain,
       PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)),
       dirname(plugin_basename(__FILE__)));
}

So i am all good.. thanks for the gr8 info

4 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Israel
sagive says

i have done all this steps.. but—> :( My face says it all

i understand i also need to add this line into the head ??

<?php load_theme_textdomain(my_theme_name);?>

i need to integrate a hebrew translation into my template.

1. is there a need to to a “deafult” english .mo / .po or the one named he.po / he.mo should do it?

2. where i can find a list of languages?

3. any possible reason my text arnt being translated automaticly on a hebrew installation wordpress? have i forgot to define something?

p.s tried this in my functions:
// Localization Support
load_theme_textdomain( 'blue_article_demon', TEMPLATEPATH.'/lang' );

$locale = get_locale();
$locale_file = TEMPLATEPATH."/lang/$locale.php";
if ( is_readable($locale_file) )
    require_once($locale_file);
And also this
$lang = TEMPLATE_PATH . '/lang';
load_theme_textdomain('theme_textdomain', $lang);

help anyone ?

by
by
by
by
by
by