• 26-06-2010, 14:34:51
    #1
    Merhaba Arkadaşlar,
    Çin temasını türkçeye çeviriyorum header.php kısmında anlamadığım bölüm var bu konuda bilen arkadaş yardımcı olursa sevinirim.
    <?php /* If this is a category archive */ if (is_home()) { ?>
                    Anasayfa <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > ??
              <?php /* If this is a tag archive */ } elseif(is_category()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > <?php the_category(' / ') ?>
              <?php /* If this is a search result */ } elseif (is_search()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > <?php echo $s; ?>
              <?php /* If this is a tag archive */ } elseif(is_tag()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > <?php single_tag_title(); ?>
              <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> ><?php the_time('Y, F jS'); ?> ??????
              <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> ><?php the_time('Y, F'); ?> ??????
              <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> ><?php the_time('Y'); ?> ??????
              <?php /* If this is an author archive */ } elseif (is_author()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > ????
              <?php /* If this is a single page */ } elseif (is_single()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > <?php the_category(', ') ?> > ????
              <?php /* If this is a page */ } elseif (is_page()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > <?php the_title(); ?>
              <?php /* If this is a 404 error page */ } elseif (is_404()) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > 404 ??
              <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
                    ????: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> > ??
              <?php } ?>
    		</div>
    ???? bunları anlamıyorum bir şey yazmam mı gerekiyor
  • 26-06-2010, 14:58:45
    #2
    Üyeliği durduruldu
    burada Türkçeleştireceğiniz bir kısım yok. İngilizce kısımlar sadece o satırın ne yaptığını gösteriyor. yani kullanıcılar birşey görmeyeceği için Türkçeleştirmenize de gerek yok.

    ????: yazan yerleri silebilirsiniz.
  • 26-06-2010, 15:13:37
    #3
    spider58 adlı üyeden alıntı: mesajı görüntüle
    burada Türkçeleştireceğiniz bir kısım yok. İngilizce kısımlar sadece o satırın ne yaptığını gösteriyor. yani kullanıcılar birşey görmeyeceği için Türkçeleştirmenize de gerek yok.

    ????: yazan yerleri silebilirsiniz.
    Hocam temada link ağacı şekli var ama onunla alakalı galiba.

    Örnek:
    Anasayfa>blog>tema türkçeleştirme gibi sanırım
  • 26-06-2010, 22:04:45
    #4
    wpink teması mı bu? Eğer öyleyse ben şöyle çevirmişim:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <!-- leave this for stats -->
    <title>
        <?php if ( is_home() ) { ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php } ?>
        <?php if ( is_search() ) { ?>“<?php echo $s; ?>” için yapılan arama sonuçları- <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_404() ) { ?>404 hatası - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_author() ) { ?>Yazar sayfası - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_single() ) { ?><?php wp_title(''); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_page() ) { ?><?php wp_title(''); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_category() ) { ?><?php single_cat_title(); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_month() ) { ?><?php the_time('F, Y'); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_day() ) { ?><?php the_time('F j, Y'); ?> - <?php bloginfo('name'); ?><?php } ?>
    </title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <script type="text/javascript" src="<?php bloginfo('template_directory');?>/js/jquery.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory');?>/js/jquery.lazyload.js"></script>
    <script type="text/javascript" charset="utf-8">
        // Mouse Hover
        <?php if(is_home() || is_archive() || is_search()): ?>
        $(function() { 
            $(".post").mouseover(function(){
                    $(this).css({ border:"1px solid #DDD", background:"#FFF"});
                    $("h2 a:first",this).css({ display:"block", color:"#FF0242"});
                }).mouseout(function(){
                    $(this).css({ border:"1px solid #E6E6E6", background:"#F4F5F7"});
                    $("h2 a:first",this).css({ color:"#24282B"});
                    });
            
            });
        <?php endif ?>
        // Delay Image
        $(function() {          
            $(".post img").lazyload({
                placeholder : "<?php bloginfo('template_url'); ?>/images/grey.gif",
                effect : "fadeIn"
              });
            });
        
        //Slide to any anchor
        $(document).ready(function() {
        $("a.anchorLink").anchorAnimate()
        });
        
        jQuery.fn.anchorAnimate = function(settings) {
        
            settings = jQuery.extend({
                speed : 1100
            }, settings);    
            
            return this.each(function(){
                var caller = this
                $(caller).click(function (event) {    
                    event.preventDefault()
                    var locationHref = window.location.href
                    var elementClick = $(caller).attr("href")
                    
                    var destination = $(elementClick).offset().top;
                    $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, settings.speed, function() {
                        window.location.hash = elementClick
                    });
                    return false;
                })
            })
        }
    </script>
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <!-- Header begin -->
    <div id="header">
        <!-- SNS begin -->
        <div class="sns">
    
            <div class="rss">
                <a href="<?php bloginfo('rss2_url'); ?>" title="Bu siteye RSS ile abone olun" target="_blank" class="rssfeed">RSS</a>
            </div>
        </div>
        <!-- SNS end -->
        <!-- Header-inner begin -->
        <div class="head">
            <!-- Description PageMenu begin -->
            <div class="description_pagelist">
                <div class="description"><?php bloginfo('description'); ?></div>
                <ul class="pagelist">
                    <?php wp_list_pages('title_li=&depth=1&'.$page_sort.'&'.$pages_to_exclude)?>
                </ul>
            </div>
            <!-- Description PageMenu end -->
            <!-- Logo Banner begin -->
            <div class="logo_banner">
                <h1 class="logo"><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
                <!-- Banner begin -->
                <div class="banner">
                </div>
                <!-- Banner end -->
            </div>
            <!-- Logo Banner end -->
            <!-- Main Navigation begin -->
            <ul class="navigation">
                <li <?php if ( is_home()){ echo ' class="cat-item current-cat" '; } ?>><a href="<?php echo get_option('home'); ?>/"><span>Anasayfa</span></a></li>
                <?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_categories('echo=0&orderby=id&title_li=&depth=1')); ?>
            </ul>
            <!-- Main Navigation end -->
        </div>
        <!-- Header-inner end -->
    </div>
    <!-- Header end -->
    <!-- Breadcrumb begin -->
         <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
         <div class="breadcrumb">
            <div class="crumb">
              <?php /* If this is a category archive */ if (is_home()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; Anasayfa
              <?php /* If this is a tag archive */ } elseif(is_category()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_category(' / ') ?>
              <?php /* If this is a search result */ } elseif (is_search()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php echo $s; ?>
              <?php /* If this is a tag archive */ } elseif(is_tag()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php single_tag_title(); ?>
              <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_time('Y, F jS'); ?> tarihinde yazılmış yazılar
              <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_time('F Y'); ?> tarihinde yazılmış yazılar
              <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_time('Y'); ?> tarihinde yazılmış yazılar
              <?php /* If this is an author archive */ } elseif (is_author()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; yazar sayfası
              <?php /* If this is a single page */ } elseif (is_single()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_category(', ') ?> &raquo;
              <?php /* If this is a page */ } elseif (is_page()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_title(); ?>
              <?php /* If this is a 404 error page */ } elseif (is_404()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; 404 hata
              <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; arşiv
              <?php } ?>
            </div>
        <!-- Search Begin-->
            <?php include (TEMPLATEPATH . '/searchform.php'); ?>
        <!-- Search end-->
        </div>
        <!-- Breadcrumb end -->
    <!-- Content begin -->
    <div id="content">
    hatta yükledim: http://hotfile.com/dl/50765001/807ef..._Trke.zip.html
  • 27-06-2010, 10:45:54
    #5
    sermat adlı üyeden alıntı: mesajı görüntüle
    wpink teması mı bu? Eğer öyleyse ben şöyle çevirmişim:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <!-- leave this for stats -->
    <title>
        <?php if ( is_home() ) { ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php } ?>
        <?php if ( is_search() ) { ?>“<?php echo $s; ?>” için yapılan arama sonuçları- <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_404() ) { ?>404 hatası - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_author() ) { ?>Yazar sayfası - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_single() ) { ?><?php wp_title(''); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_page() ) { ?><?php wp_title(''); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_category() ) { ?><?php single_cat_title(); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_month() ) { ?><?php the_time('F, Y'); ?> - <?php bloginfo('name'); ?><?php } ?>
        <?php if ( is_day() ) { ?><?php the_time('F j, Y'); ?> - <?php bloginfo('name'); ?><?php } ?>
    </title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <script type="text/javascript" src="<?php bloginfo('template_directory');?>/js/jquery.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory');?>/js/jquery.lazyload.js"></script>
    <script type="text/javascript" charset="utf-8">
        // Mouse Hover
        <?php if(is_home() || is_archive() || is_search()): ?>
        $(function() { 
            $(".post").mouseover(function(){
                    $(this).css({ border:"1px solid #DDD", background:"#FFF"});
                    $("h2 a:first",this).css({ display:"block", color:"#FF0242"});
                }).mouseout(function(){
                    $(this).css({ border:"1px solid #E6E6E6", background:"#F4F5F7"});
                    $("h2 a:first",this).css({ color:"#24282B"});
                    });
            
            });
        <?php endif ?>
        // Delay Image
        $(function() {          
            $(".post img").lazyload({
                placeholder : "<?php bloginfo('template_url'); ?>/images/grey.gif",
                effect : "fadeIn"
              });
            });
        
        //Slide to any anchor
        $(document).ready(function() {
        $("a.anchorLink").anchorAnimate()
        });
        
        jQuery.fn.anchorAnimate = function(settings) {
        
            settings = jQuery.extend({
                speed : 1100
            }, settings);    
            
            return this.each(function(){
                var caller = this
                $(caller).click(function (event) {    
                    event.preventDefault()
                    var locationHref = window.location.href
                    var elementClick = $(caller).attr("href")
                    
                    var destination = $(elementClick).offset().top;
                    $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, settings.speed, function() {
                        window.location.hash = elementClick
                    });
                    return false;
                })
            })
        }
    </script>
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <!-- Header begin -->
    <div id="header">
        <!-- SNS begin -->
        <div class="sns">
    
            <div class="rss">
                <a href="<?php bloginfo('rss2_url'); ?>" title="Bu siteye RSS ile abone olun" target="_blank" class="rssfeed">RSS</a>
            </div>
        </div>
        <!-- SNS end -->
        <!-- Header-inner begin -->
        <div class="head">
            <!-- Description PageMenu begin -->
            <div class="description_pagelist">
                <div class="description"><?php bloginfo('description'); ?></div>
                <ul class="pagelist">
                    <?php wp_list_pages('title_li=&depth=1&'.$page_sort.'&'.$pages_to_exclude)?>
                </ul>
            </div>
            <!-- Description PageMenu end -->
            <!-- Logo Banner begin -->
            <div class="logo_banner">
                <h1 class="logo"><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
                <!-- Banner begin -->
                <div class="banner">
                </div>
                <!-- Banner end -->
            </div>
            <!-- Logo Banner end -->
            <!-- Main Navigation begin -->
            <ul class="navigation">
                <li <?php if ( is_home()){ echo ' class="cat-item current-cat" '; } ?>><a href="<?php echo get_option('home'); ?>/"><span>Anasayfa</span></a></li>
                <?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_categories('echo=0&orderby=id&title_li=&depth=1')); ?>
            </ul>
            <!-- Main Navigation end -->
        </div>
        <!-- Header-inner end -->
    </div>
    <!-- Header end -->
    <!-- Breadcrumb begin -->
         <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
         <div class="breadcrumb">
            <div class="crumb">
              <?php /* If this is a category archive */ if (is_home()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; Anasayfa
              <?php /* If this is a tag archive */ } elseif(is_category()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_category(' / ') ?>
              <?php /* If this is a search result */ } elseif (is_search()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php echo $s; ?>
              <?php /* If this is a tag archive */ } elseif(is_tag()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php single_tag_title(); ?>
              <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_time('Y, F jS'); ?> tarihinde yazılmış yazılar
              <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_time('F Y'); ?> tarihinde yazılmış yazılar
              <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_time('Y'); ?> tarihinde yazılmış yazılar
              <?php /* If this is an author archive */ } elseif (is_author()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; yazar sayfası
              <?php /* If this is a single page */ } elseif (is_single()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_category(', ') ?> &raquo;
              <?php /* If this is a page */ } elseif (is_page()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; <?php the_title(); ?>
              <?php /* If this is a 404 error page */ } elseif (is_404()) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; 404 hata
              <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
                    <strong>Buradasınız:</strong> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a> &raquo; arşiv
              <?php } ?>
            </div>
        <!-- Search Begin-->
            <?php include (TEMPLATEPATH . '/searchform.php'); ?>
        <!-- Search end-->
        </div>
        <!-- Breadcrumb end -->
    <!-- Content begin -->
    <div id="content">
    hatta yükledim: http://hotfile.com/dl/50765001/807ef..._Trke.zip.html
    Türkçeleştirmem bitmişti.Ama sizinkinide aldım.Çok teşekkür ederim. +rep