Code:
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File: header.php
* @Package: GetSimple
* @Action: Innovation theme for the GetSimple 3.0
*
*****************************************************/
?><!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php get_page_clean_title(); ?> - <?php get_site_name(); ?></title>
<meta name="robots" content="index, follow">
<link href='//fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'>
<link href="<?php get_theme_url(); ?>/assets/css/reset.css" rel="stylesheet">
<link href="<?php get_theme_url(); ?>/style.css?v=<?php echo get_site_version(); ?>" rel="stylesheet">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 7 ]>
<script src="<?php get_theme_url(); ?>/assets/js/dd_belatedpng.js"></script>
<script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script>
<![endif]-->
<?php get_header(); ?>
</head>
<body id="<?php get_page_slug(); ?>" >
<!-- site header -->
<header>
<div class="header">
<div class="wrapper">
<!-- logo/sitename -->
<a href="<?php get_site_url(); ?>" id="logo" ><?php get_site_name(); ?></a>
<!-- main navigation -->
<nav id="main-nav">
<ul>
Replace This<?php get_navigation(get_page_slug(FALSE)); ?>
with
<?php get_i18n_navigation(return_page_slug(FALSE)); ?>
</ul>
</nav>
</div>
</div>
<!-- breadcrumbs: only show when NOT on homepage -->
<p class="breadcrumbs" >
<span class="wrapper">
<a href="<?php get_site_url(); ?>">Home</a> <?php Innovation_Parent_Link(get_parent(FALSE)); ?> <b><?php get_page_clean_title(); ?></b>
</span>
</p>
</header>
In /theme/Innovation/sidebar.inc.phpCode:
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File: sidebar.php
* @Package: GetSimple
* @Action: Innovation theme for the GetSimple 3.0
*
*****************************************************/
?><aside id="sidebar">
<div class="section" id="socialmedia" >
<h2>Connect</h2>
<div class="icons">
<!-- Social Media URLs are set within this theme's settings plugin -->
<?php if (defined('FACEBOOK')) { ?>
<a href="<?php echo FACEBOOK; ?>"><img src="<?php get_theme_url(); ?>/assets/images/facebook.png" /></a>
<?php } ?>
<?php if (defined('TWITTER')) { ?>
<a href="<?php echo TWITTER; ?>"><img src="<?php get_theme_url(); ?>/assets/images/twitter.png" /></a>
<?php } ?>
<?php if (defined('LINKEDIN')) { ?>
<a href="<?php echo LINKEDIN; ?>"><img src="<?php get_theme_url(); ?>/assets/images/linkedin.png" /></a>
<?php } ?>
<img src="<?php get_theme_url(); ?>/assets/images/break.png" />
<!-- addthis popup - you can add your username if you want analytics: http://www.addthis.com/help/customizing-addthis -->
<div class="addthis_toolbox" style="display:inline;width:24px;" >
<a href="//www.addthis.com/bookmark.php?v=250" class="addthis_button_compact"><img src="<?php get_theme_url(); ?>/assets/images/share.png" /></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js"></script>
</div>
</div>
<!-- wrap each sidebar section like this -->
<div class="section">
Replace <?php get_component('sidebar'); ?>
with
<?php get_i18n_component('sidebar'); ?>
</div>
</aside>
3. When in Page edit mode, where it gives you the option of naming the Page SLUG normally you have something like index, instead, put index_es (Spanish) or index_de (German) SLUG+_+language code, which will create another language.