Index: plugins/VisitFrequency/index.tpl
===================================================================
--- plugins/VisitFrequency/index.tpl	(wersja 409)
+++ plugins/VisitFrequency/index.tpl	(kopia robocza)
@@ -2,9 +2,9 @@
 <script type="text/javascript" src="plugins/Home/templates/sparkline.js"></script>
 
 <a name="evolutionGraph" graphId="VisitFrequencygetLastVisitsReturningGraph"></a>
-<h2>Evolution over the period</h2>
+<h2>{'VisitFrequency_Evolution'|translate}</h2>
 {$graphEvolutionVisitFrequency}
 
 {include file=VisitFrequency/sparklines.tpl}
 	
-{postEvent name="template_footerVisitsFrequency"}
\ brakuje znaku końca linii na końcu pliku 
+{postEvent name="template_footerVisitsFrequency"}
Index: plugins/VisitFrequency/VisitFrequency.php
===================================================================
--- plugins/VisitFrequency/VisitFrequency.php	(wersja 409)
+++ plugins/VisitFrequency/VisitFrequency.php	(kopia robocza)
@@ -18,11 +18,12 @@
 	public function getInformation()
 	{
 		$info = array(
-			'name' => 'VisitorFrequency',
+			'name' => 'VisitFrequency',
 			'description' => 'VisitorFrequency',
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
+			'translationAvailable' => true
 		);
 		
 		return $info;
Index: plugins/VisitFrequency/sparklines.tpl
===================================================================
--- plugins/VisitFrequency/sparklines.tpl	(wersja 409)
+++ plugins/VisitFrequency/sparklines.tpl	(kopia robocza)
@@ -1,6 +1,6 @@
 
-	<p><img class="sparkline" src="{$urlSparklineNbVisitsReturning}" /> <span><strong>{$nbVisitsReturning} </strong> returning visits</span></p>
-	<p><img class="sparkline" src="{$urlSparklineNbActionsReturning}" /> <span><strong>{$nbActionsReturning} </strong> actions by the returning visits</span></p>
-	<p><img class="sparkline" src="{$urlSparklineMaxActionsReturning}" /> <span><strong>{$maxActionsReturning} </strong> maximum actions by a returning visit</span></p>
-	<p><img class="sparkline" src="{$urlSparklineSumVisitLengthReturning}" /> <span><strong>{$sumVisitLengthReturning|sumtime} </strong> total time spent by returning visits</span></p>
-	<p><img class="sparkline" src="{$urlSparklineBounceCountReturning}" /> <span><strong>{$bounceCountReturning} </strong> times that a returning visit has bounced (left the site after one page) </span></p>
+	<p><img class="sparkline" src="{$urlSparklineNbVisitsReturning}" /> <span><strong>{$nbVisitsReturning} </strong> {'VisitFrequency_ReturnVisits'|translate}</span></p>
+	<p><img class="sparkline" src="{$urlSparklineNbActionsReturning}" /> <span><strong>{$nbActionsReturning} </strong> {'VisitFrequency_ReturnActions'|translate}</span></p>
+	<p><img class="sparkline" src="{$urlSparklineMaxActionsReturning}" /> <span><strong>{$maxActionsReturning} </strong> {'VisitFrequency_ReturnMaxActions'|translate}</span></p>
+	<p><img class="sparkline" src="{$urlSparklineSumVisitLengthReturning}" /> <span><strong>{$sumVisitLengthReturning|sumtime} </strong> {'VisitFrequency_ReturnTotalTime'|translate}</span></p>
+	<p><img class="sparkline" src="{$urlSparklineBounceCountReturning}" /> <span><strong>{$bounceCountReturning} </strong> {'VisitFrequency_ReturnBounces'|translate} </span></p>
Index: plugins/SitesManager/SitesManager.php
===================================================================
--- plugins/SitesManager/SitesManager.php	(wersja 409)
+++ plugins/SitesManager/SitesManager.php	(kopia robocza)
@@ -24,7 +24,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 		
 		return $info;
Index: plugins/SitesManager/templates/SitesManager.tpl
===================================================================
--- plugins/SitesManager/templates/SitesManager.tpl	(wersja 409)
+++ plugins/SitesManager/templates/SitesManager.tpl	(kopia robocza)
@@ -1,21 +1,21 @@
 <script type="text/javascript" src="plugins/SitesManager/templates/SitesManager.js"></script>
 
-<h2>Sites</h2>
+<h2>{'SitesManager_Sites'|translate}</h2>
 <div id="ajaxError" style="display:none"></div>
-<div id="ajaxLoading" style="display:none">Loading... <img src="themes/default/loading.gif"></div>
+<div id="ajaxLoading" style="display:none">{'General_LoadingData'|translate} <img src="themes/default/loading.gif"></div>
 
 {if $sites|@count == 0}
-	You don't have any website to administrate.
+	{'SitesManager_NoWebsites'|translate}
 {else}
 	<table id="editSites" border=1 cellpadding="10">
 		<thead>
 			<tr>
-			<th>Id</th>
-			<th>Name</th>
-			<th>URLs</th>
+			<th>{'SitesManager_Id'|translate}</th>
+			<th>{'SitesManager_Name'|translate}</th>
+			<th>{'SitesManager_Urls'|translate}</th>
 			<th> </th>
 			<th> </th>
-			<th> Javascript code </th>
+			<th> {'SitesManager_JsCode'|translate} </th>
 			</tr>
 		</thead>
 		<tbody>
@@ -25,13 +25,13 @@
 				<td id="siteName" class="editableSite">{$site.name}</td>
 				<td id="urls" class="editableSite">{foreach from=$site.alias_urls item=url}{$url}<br>{/foreach}</td>       
 				<td><img src='plugins/UsersManager/images/edit.png' class="editSite" id="row{$i}" href='#'></td>
-				<td><img src='plugins/UsersManager/images/remove.png' class="deleteSite" id="row{$i}" value="Delete"></td>
-				<td><a href='{url actionToLoad=displayJavascriptCode idsite=$site.idsite}'>Show Code</a></td>
+				<td><img src='plugins/UsersManager/images/remove.png' class="deleteSite" id="row{$i}" value="{'General_Delete'|translate}"></td>
+				<td><a href='{url actionToLoad=displayJavascriptCode idsite=$site.idsite}'>{'SitesManager_ShowJsCode'|translate}</a></td>
 			</tr>
 			{/foreach}
 			
 		</tbody>
 	</table>
-	<div id="addRowSite"><img src='plugins/UsersManager/images/add.png'> <a href="#">Add a new Site</a></div>
+	<div id="addRowSite"><img src='plugins/UsersManager/images/add.png'> <a href="#">{'SitesManager_AddSite'|translate}</a></div>
 {/if}
 
Index: plugins/SitesManager/templates/DisplayJavascriptCode.tpl
===================================================================
--- plugins/SitesManager/templates/DisplayJavascriptCode.tpl	(wersja 409)
+++ plugins/SitesManager/templates/DisplayJavascriptCode.tpl	(kopia robocza)
@@ -1,4 +1,4 @@
-<p>Here is the javascript code to include on all your pages:</p>
+<p>{'SitesManager_JsCodeHelp'|translate}:</p>
 
 <code>
 {$jsTag}
Index: plugins/Dashboard/Dashboard.php
===================================================================
--- plugins/Dashboard/Dashboard.php	(wersja 409)
+++ plugins/Dashboard/Dashboard.php	(kopia robocza)
@@ -20,6 +20,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
+			'translationAvailable' => true,
 		);
 	}
 
Index: plugins/Dashboard/templates/index.tpl
===================================================================
--- plugins/Dashboard/templates/index.tpl	(wersja 409)
+++ plugins/Dashboard/templates/index.tpl	(kopia robocza)
@@ -22,18 +22,18 @@
  
 	<div class="dialog" id="confirm"> 
 	        <img src="themes/default/images/delete.png" style="padding: 10px; position: relative; margin-top: 10%; float: left;"/>
-	        <p>Are you sure you want to delete this widget from the dashboard ?</p>
-			<input id="yes" type="button" value="Yes"/>
-			<input id="no" type="button" value="No"/>
+	        <p>{'Dashboard_DeleteWidgetConfirm'|translate}</p>
+			<input id="yes" type="button" value="{'General_Yes'|translate}"/>
+			<input id="no" type="button" value="{'General_No'|translate}"/>
 	</div> 
 
 	<div class="button" id="addWidget">
-		Add a widget...
+		{'Dashboard_AddWidget'|translate}
 	</div>
 	
 	<div class="menu" id="widgetChooser">
-		<div id="closeMenuIcon"><img src="themes/default/images/close_medium.png" title="Close this menu"/></div>
-		<div id="menuTitleBar">Select the widget to add in the dashboard</div>
+		<div id="closeMenuIcon"><img src="themes/default/images/close_medium.png" title="{'General_Close'|translate}"/></div>
+		<div id="menuTitleBar">{'Dashboard_SelectWidget'|translate}</div>
 		<div class="subMenu" id="sub1">
 		</div>
 		
@@ -42,11 +42,11 @@
 		
 		<div class="subMenu" id="sub3">
 			<div class="widget">
-				<div class="handle" title="Add previewed widget to the dashboard">
+				<div class="handle" title="{'Dashboard_AddPreviewedWidget'|translate}">
 					<div class="button" id="close">
-						<img src="themes/default/images/close.png" />
+						<img src="themes/default/images/close.png" title="{'General_Close'|translate}"/>
 					</div>
-					<div class="widgetTitle">Widget preview</div>
+					<div class="widgetTitle">{'Dashboard_WidgetPreview'|translate}</div>
 				</div>
 				<div class="widgetDiv previewDiv"></div>
 			</div>
Index: plugins/Home/Controller.php
===================================================================
--- plugins/Home/Controller.php	(wersja 409)
+++ plugins/Home/Controller.php	(kopia robocza)
@@ -36,9 +36,8 @@
 		{
 			if(($currentLogin = Piwik::getCurrentUserLogin()) != 'anonymous')
 			{
-				Piwik_ExitWithMessage( "You are logged in as '$currentLogin' but it seems you don't have any permission set in Piwik.
-				<br />Ask your Piwik administrator to give you 'view' access to a website.
-				<br /><br />&nbsp;&nbsp;&nbsp;<b><a href='?module=Login&action=logout'>&rsaquo; Logout from Piwik</a></b><br />");
+				Piwik_ExitWithMessage( sprintf(Piwik_Translate('Home_NoPrivileges'),$currentLogin).
+				"<br /><br />&nbsp;&nbsp;&nbsp;<b><a href='?module=Login&action=logout'>&rsaquo; ".Piwik_Translate('General_Logout')."</a></b><br />");
 			}
 			else
 			{
@@ -116,4 +115,4 @@
 
 	
 
-}
\ brakuje znaku końca linii na końcu pliku 
+}
Index: plugins/Home/templates/datatable.tpl
===================================================================
--- plugins/Home/templates/datatable.tpl	(wersja 409)
+++ plugins/Home/templates/datatable.tpl	(kopia robocza)
@@ -3,7 +3,7 @@
 		{$arrayDataTable.message} 
 	{else}
 		{if count($arrayDataTable) == 0}
-		<div id="emptyDatatable">No data for this table.</div>
+		<div id="emptyDatatable">{'Home_TableNoData'|translate}</div>
 		{else}
 			<a name="{$id}"></a>
 			<table cellspacing="0" class="dataTable"> 
Index: plugins/Home/templates/links_misc_modules.tpl
===================================================================
--- plugins/Home/templates/links_misc_modules.tpl	(wersja 409)
+++ plugins/Home/templates/links_misc_modules.tpl	(kopia robocza)
@@ -3,6 +3,6 @@
 		<li><a href='?module=API&action=listAllAPI'>API examples</a></li>
 		<li>Embed Piwik widgets everywhere: <a href='?module=Widgetize'>Widgetize!</a></li>
 		<li><a href='?module=AdminHome'>Administration</a></li>
-		<li><a href='?module=SitesManager&action=displayJavascriptCode&idsite={$idSite}'>Show the javascript code to insert</a></li>
+		<li><a href='?module=SitesManager&action=displayJavascriptCode&idsite={$idSite}'>{'Home_ShowJSCode'|translate}</a></li>
 	</ul>
-</span>
\ brakuje znaku końca linii na końcu pliku 
+</span>
Index: plugins/Home/templates/datatable_actions_subdatable.tpl
===================================================================
--- plugins/Home/templates/datatable_actions_subdatable.tpl	(wersja 409)
+++ plugins/Home/templates/datatable_actions_subdatable.tpl	(kopia robocza)
@@ -3,7 +3,7 @@
 	{$arrayDataTable.message} 
 {else}
 	{if count($arrayDataTable) == 0}
-	<tr><td colspan="{$nbColumns}">No data in this category. Try to "Include all population".</td></tr>
+	<tr><td colspan="{$nbColumns}">{'Home_CategoryNoData'|translate}</td></tr>
 	{else}
 		{foreach from=$arrayDataTable item=row}
 		<tr {if $row.idsubdatatable}class="subActionsDataTable" id="{$row.idsubdatatable}"{else}class="actionsDataTable"{/if}>
@@ -16,4 +16,4 @@
 		</tr>
 		{/foreach}
 	{/if}		
-{/if}
\ brakuje znaku końca linii na końcu pliku 
+{/if}
Index: plugins/Home/templates/datatable_actions_recursive.tpl
===================================================================
--- plugins/Home/templates/datatable_actions_recursive.tpl	(wersja 409)
+++ plugins/Home/templates/datatable_actions_recursive.tpl	(kopia robocza)
@@ -3,7 +3,7 @@
 	{$arrayDataTable.message} 
 {else}
 	{if count($arrayDataTable) == 0}
-		<div id="emptyDatatable">No data for this table.</div>
+		<div id="emptyDatatable">{'Home_TableNoData'|translate}</div>
 	{else}
 		<table cellspacing="0" class="dataTable dataTableActions"> 
 		<thead>
@@ -41,4 +41,4 @@
 	{include file="Home/templates/datatable_actions_js.tpl"}
 	
 	{/if}
-</div>
\ brakuje znaku końca linii na końcu pliku 
+</div>
Index: plugins/Home/templates/datatable_footer.tpl
===================================================================
--- plugins/Home/templates/datatable_footer.tpl	(wersja 409)
+++ plugins/Home/templates/datatable_footer.tpl	(kopia robocza)
@@ -7,8 +7,8 @@
 	</span>
 	
 	<span id="dataTablePages"></span>
-	<span id="dataTablePrevious">&lt; Previous</span>
-	<span id="dataTableNext">Next &gt;</span>
+	<span id="dataTablePrevious">&lt; {'General_Previous'|translate}</span>
+	<span id="dataTableNext">{'General_Next'|translate} &gt;</span>
 	<div>
 		<span id="exportDataTable">
 			<span id="exportToFormat" style="display:none">
@@ -19,17 +19,17 @@
 					<a target="_blank" class="exportToFormat" methodToCall="{$method}" format="JSON" filter_limit="100">Json</a> |
 					<a target="_blank" class="exportToFormat" methodToCall="{$method}" format="PHP" filter_limit="100">Php</a>
 				</span>
-				<a class="viewDataTable" format="table"><img width="16" height="16" src="themes/default/images/table.png" title="Table" /></a>
-				<a class="viewDataTable" format="cloud"><img width="16" height="16" src="themes/default/images/tagcloud.png" title="Tag Cloud" /></a>
-				<a class="viewDataTable" format="graphVerticalBar"><img width="16" height="16" src="themes/default/images/chart_bar.png" title="Vertical bar graph" /></a>
-				<a class="viewDataTable" format="graphPie"><img width="16" height="16" src="themes/default/images/chart_pie.png" title="Pie chart" /></a>
+				<a class="viewDataTable" format="table"><img width="16" height="16" src="themes/default/images/table.png" title="{'General_Table'|translate}" /></a>
+				<a class="viewDataTable" format="cloud"><img width="16" height="16" src="themes/default/images/tagcloud.png" title="{'General_TagCloud'|translate}" /></a>
+				<a class="viewDataTable" format="graphVerticalBar"><img width="16" height="16" src="themes/default/images/chart_bar.png" title="{'General_VBarGraph'|translate}" /></a>
+				<a class="viewDataTable" format="graphPie"><img width="16" height="16" src="themes/default/images/chart_pie.png" title="{'General_Piechart'|translate}" /></a>
 			</span>
 			<span id="exportDataTableShow" style="display:none">
 				<img src="plugins/Home/templates/images/more.png" />
 			</span>
 		</span>
 
-		<span id="loadingDataTable"><img src="themes/default/images/loading-blue.gif" /> Loading...</span>
+		<span id="loadingDataTable"><img src="themes/default/images/loading-blue.gif" /> {'General_LoadingData'|translate}</span>
 	</div>
 </div>
 
Index: plugins/Home/templates/datatable_actions.tpl
===================================================================
--- plugins/Home/templates/datatable_actions.tpl	(wersja 409)
+++ plugins/Home/templates/datatable_actions.tpl	(kopia robocza)
@@ -3,7 +3,7 @@
 	{$arrayDataTable.message} 
 {else}
 	{if count($arrayDataTable) == 0}
-		<div id="emptyDatatable">No data for this table.</div>
+		<div id="emptyDatatable">{'Home_TableNoData'|translate}</div>
 	{else}
 		<table cellspacing="0" class="dataTable dataTableActions"> 
 		<thead>
Index: plugins/Home/templates/graph.tpl
===================================================================
--- plugins/Home/templates/graph.tpl	(wersja 409)
+++ plugins/Home/templates/graph.tpl	(kopia robocza)
@@ -6,7 +6,7 @@
 	<form class="formEmbedCode" id="{$formId}">
 	Embed <input name="embed_code" value="{$codeEmbed}" onclick="javascript:document.getElementById('{$formId}').embed_code.focus();document.getElementById('{$formId}').embed_code.select();" readonly="true" type="text">
 	
-	| <a target="_blank" href="{$urlData}">Graph data</a>
+	| <a target="_blank" href="{$urlData}">{'General_GraphData'|translate}</a>
 	</form>
 	
 	{include file="Home/templates/datatable_footer.tpl"}
Index: plugins/Home/templates/index.tpl
===================================================================
--- plugins/Home/templates/index.tpl	(wersja 409)
+++ plugins/Home/templates/index.tpl	(kopia robocza)
@@ -281,7 +281,7 @@
 	   {/foreach}
 	</optgroup>
 </select>
-</span> | {if $userLogin=='anonymous'}<a href='?module=Login'>Login</a>{else}<a href='?module=Login&action=logout'>Logout</a>{/if}</a>
+</span> | {if $userLogin=='anonymous'}<a href='?module=Login'>{'Login_LogIn'|translate}</a>{else}<a href='?module=Login&action=logout'>{'Login_Logout'|translate}</a>{/if}</a>
 </small>
 </form>
 </span>
@@ -298,9 +298,7 @@
 
 <noscript>
 <span id="javascriptDisable">
-JavaScript must be enabled in order for you to use Piwik in standard view.<br> 
-However, it seems JavaScript is either disabled or not supported by your browser.<br> 
-To use standard view, enable JavaScript by changing your browser options, then <a href=''>try again</a>.<br>
+{'Home_JavascriptDisabled'|translate}
 </span>
 </noscript>
 {include file="Home/templates/period_select.tpl"}
@@ -310,8 +308,8 @@
 
 <div style='clear:both'></div>
 
-<div id="loadingPiwik" {if $basicHtmlView}style="display:none"{/if}><img src="themes/default/images/loading-blue.gif"> Loading data...</div>
-<div id="loadingError">Oops&hellip; problem during the request, please try again.</div>
+<div id="loadingPiwik" {if $basicHtmlView}style="display:none"{/if}><img src="themes/default/images/loading-blue.gif"> {'General_LoadingData'|translate}</div>
+<div id="loadingError">{'General_ErrorRequest'|translate}</div>
 <div id='content'>
 {if $content}{$content}{/if}
 </div>
Index: plugins/Home/Home.php
===================================================================
--- plugins/Home/Home.php	(wersja 409)
+++ plugins/Home/Home.php	(kopia robocza)
@@ -20,7 +20,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 	}
 }
Index: plugins/PluginsAdmin/PluginsAdmin.php
===================================================================
--- plugins/PluginsAdmin/PluginsAdmin.php	(wersja 409)
+++ plugins/PluginsAdmin/PluginsAdmin.php	(kopia robocza)
@@ -15,12 +15,12 @@
 	{
 		return array(
 			// name must be the className prefix!
-			'name' => 'Plugins administration',
+			'name' => 'PluginsAdmin',
 			'description' => '',
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 	}
 }
Index: plugins/PluginsAdmin/templates/manage.tpl
===================================================================
--- plugins/PluginsAdmin/templates/manage.tpl	(wersja 409)
+++ plugins/PluginsAdmin/templates/manage.tpl	(kopia robocza)
@@ -20,8 +20,8 @@
 	<td>{$plugin.info.description}&nbsp;</td>
 	<td class="center"><a href="{$plugin.info.homepage}">{$plugin.info.author}</a></td>
 	<td>{$plugin.info.version}</td>
-	<td class="switch">{if $plugin.alwaysActivated}<span title="This plugin cannot be deactivated">Activated</span>{elseif $plugin.activated}<a href=?module=PluginsAdmin&action=deactivate&pluginName={$name}>Deactivate</a>
-{else}<a href=?module=PluginsAdmin&action=activate&pluginName={$name}>Activate</a>{/if}</td>
+	<td class="switch">{if $plugin.alwaysActivated}<span title="{'PluginsAdmin_ActivatedHelp'|translate}">{'PluginsAdmin_Activated'|translate}</span>{elseif $plugin.activated}<a href=?module=PluginsAdmin&action=deactivate&pluginName={$name}>{'PluginsAdmin_Deactivate'|translate}</a>
+{else}<a href=?module=PluginsAdmin&action=activate&pluginName={$name}>{'PluginsAdmin_Activate'|translate}</a>{/if}</td>
 	</tr>
 {/foreach}
 
Index: plugins/UsersManager/UsersManager.php
===================================================================
--- plugins/UsersManager/UsersManager.php	(wersja 409)
+++ plugins/UsersManager/UsersManager.php	(kopia robocza)
@@ -19,12 +19,12 @@
 	{
 		$info = array(
 			// name must be the className prefix!
-			'name' => 'UserManager',
+			'name' => 'UsersManager',
 			'description' => 'Description',
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 		
 		return $info;
Index: plugins/UsersManager/templates/UsersManager.tpl
===================================================================
--- plugins/UsersManager/templates/UsersManager.tpl	(wersja 409)
+++ plugins/UsersManager/templates/UsersManager.tpl	(kopia robocza)
@@ -18,16 +18,16 @@
 </style>
 {/literal}
 
-<h2>Manage access</h2>
+<h2>{'UsersManager_ManageAccess'|translate}</h2>
 
 <div id="sites">
 <form method="post" action="{url actionToLoad=index}" id="accessSites">
-	<p>Sites: <select id="selectIdsite" name="idsite" onchange="this.form.submit()">
+	<p>{'UsersManager_Sites'|translate}: <select id="selectIdsite" name="idsite" onchange="this.form.submit()">
 	
-	<optgroup label="All websites">
-		<option label="All websites" value="-1" {if $idSiteSelected==-1} selected="selected"{/if}>Apply to all websites</option>
+	<optgroup label="{'UsersManager_AllWebsites'|translate}">
+		<option label="{'UsersManager_AllWebsites'|translate}" value="-1" {if $idSiteSelected==-1} selected="selected"{/if}>{'UsersManager_ApplyToAllWebsites'|translate}</option>
 	</optgroup>
-	<optgroup label="Sites">
+	<optgroup label="{'UsersManager_Sites'|translate}">
 		{foreach from=$websites item=info}
 			<option value="{$info.idsite}" {if $idSiteSelected==$info.idsite} selected="selected"{/if}>{$info.name}</option>
 		{/foreach}
@@ -40,10 +40,10 @@
 <table id="access">
 <thead>
 <tr>
-	<th>User</th>
-	<th>No access</th>
-	<th>View</th>
-	<th>Admin</th>
+	<th>{'UsersManager_User'|translate}</th>
+	<th>{'UsersManager_PrivNone'|translate}</th>
+	<th>{'UsersManager_PrivView'|translate}</th>
+	<th>{'UsersManager_PrivAdmin'|translate}</th>
 </tr>
 </thead>
 
@@ -61,28 +61,28 @@
 </tbody>
 </table>
 
-<div id="accessUpdated">Done!</div>
+<div id="accessUpdated">{'General_Done'|translate}!</div>
 
 <div class="dialog" id="confirm"> 
-	<p>Are you sure you want to change '<span id='login'></span>' permissions on all the websites?</p>
-	<input id="yes" type="button" value="Yes"/>
-	<input id="no" type="button" value="No"/>
+	<p>{'UsersManager_ChangeAllConfirm'|translate:"<span id='login'></span>"}</p>
+	<input id="yes" type="button" value="{'General_Yes'|translate}"/>
+	<input id="no" type="button" value="{'General_No'|translate}"/>
 </div> 
 
 <h2>Manage users</h2>
 
 <div id="ajaxError" style="display:none"></div>
-<div id="ajaxLoading" style="display:none">Loading... <img src="themes/default/loading.gif"></div>
+<div id="ajaxLoading" style="display:none">{'General_LoadingData'|translate} <img src="themes/default/loading.gif"></div>
 <table id="users">
 	<thead>
 		<tr>
-			<th>Login</th>
-			<th>Password</th>
-			<th>Email</th>
-			<th>Alias</th>
-			<th>token_auth</th>
-			<th>Edit</th>
-			<th>Delete</th>
+			<th>{'UsersManager_Login'|translate}</th>
+			<th>{'UsersManager_Password'|translate}</th>
+			<th>{'UsersManager_Email'|translate}</th>
+			<th>{'UsersManager_Alias'|translate}</th>
+			<th>{'UsersManager_Token'|translate}</th>
+			<th>{'General_Edit'|translate}</th>
+			<th>{'General_Delete'|translate}</th>
 		</tr>
 	</thead>
 	
@@ -103,5 +103,5 @@
 	</tbody>
 </table>
 
-<div id="addrow"><img src='plugins/UsersManager/images/add.png'> Add a new user</div>
+<div id="addrow"><img src='plugins/UsersManager/images/add.png'> {'UsersManager_AddUser'|translate}</div>
 <script type="text/javascript" src="plugins/UsersManager/templates/UsersManager.js"></script>
Index: plugins/UserSettings/UserSettings.php
===================================================================
--- plugins/UserSettings/UserSettings.php	(wersja 409)
+++ plugins/UserSettings/UserSettings.php	(kopia robocza)
@@ -38,6 +38,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
+			'translationAvailable' => true,
 		);
 		
 		return $info;
Index: plugins/UserSettings/index.tpl
===================================================================
--- plugins/UserSettings/index.tpl	(wersja 409)
+++ plugins/UserSettings/index.tpl	(kopia robocza)
@@ -1,25 +1,25 @@
 <div id='leftcolumn'>
-	<h2>Browser families</h2>
+	<h2>{'UserSettings_BrowserFamilies'|translate}</h2>
 	{$dataTableBrowserType}
 	
-	<h2>Browsers</h2>
+	<h2>{'UserSettings_Browsers'|translate}</h2>
 	{$dataTableBrowser}
 	
-	<h2>Plugins</h2>
+	<h2>{'UserSettings_Plugins'|translate}</h2>
 	{$dataTablePlugin}
 </div>
 
 <div id='rightcolumn'>
-	<h2>Configurations</h2>
+	<h2>{'UserSettings_Configurations'|translate}</h2>
 	{$dataTableConfiguration}
 	
-	<h2>Operating systems</h2>
+	<h2>{'UserSettings_OperatinsSystems'|translate}</h2>
 	{$dataTableOS}
 	
-	<h2>Resolutions</h2>
+	<h2>{'UserSettings_Resolutions'|translate}</h2>
 	{$dataTableResolution}
 	
-	<h2>Wide Screen</h2>
+	<h2>{'UserSettings_WideScreen'|translate}</h2>
 	{$dataTableWideScreen}
 </div>	
 
Index: plugins/VisitsSummary/VisitsSummary.php
===================================================================
--- plugins/VisitsSummary/VisitsSummary.php	(wersja 409)
+++ plugins/VisitsSummary/VisitsSummary.php	(kopia robocza)
@@ -19,12 +19,12 @@
 	{
 		$info = array(
 			// name must be the className prefix!
-			'name' => 'Piwik_VisitsSummary',
+			'name' => 'VisitsSummary',
 			'description' => 'Description',
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 		
 		return $info;
@@ -129,4 +129,4 @@
 Piwik_AddWidget( 'VisitsSummary', 'getLastUniqueVisitorsGraph', 'Last unique visitors graph');
 Piwik_AddWidget( 'VisitsSummary', 'index', 'Overview with graph');
 
-Piwik_AddMenu('Visitors', 'Overview', array('module' => 'VisitsSummary'), true);
\ brakuje znaku końca linii na końcu pliku 
+Piwik_AddMenu('Visitors', 'Overview', array('module' => 'VisitsSummary'), true);
Index: plugins/VisitsSummary/index.tpl
===================================================================
--- plugins/VisitsSummary/index.tpl	(wersja 409)
+++ plugins/VisitsSummary/index.tpl	(kopia robocza)
@@ -2,12 +2,15 @@
 <script type="text/javascript" src="plugins/Home/templates/sparkline.js"></script>
 
 <a name="evolutionGraph" graphId="VisitsSummarygetLastVisitsGraph"></a>
-<h2>Evolution on the last 30 {$period}s</h2>
+<h2>{'VisitsSummary_Evolution'|translate:$period}</h2>
 {$graphEvolutionVisitsSummary}
 
-<h2>Report</h2>
+<h2>{'VisitsSummary_Report'|translate}</h2>
 {include file=VisitsSummary/sparklines.tpl}
 
 
 <br><br><br>
-<p style='color:lightgrey; size:0.8em;'>{$totalTimeGeneration} seconds {if $totalNumberOfQueries != 0}/ {$totalNumberOfQueries}  queries{/if} to generate the page</p>
+<p style='color:lightgrey; size:0.8em;'>
+{'VisitsSummary_GenerateTime'|translate:$totalTimeGeneration:$totalNumberOfQueries}
+{if $totalNumberOfQueries != 0}, {'VisitsSummary_GenerateQueries'|translate:$totalNumberOfQueries}{/if}
+</p>
Index: plugins/VisitsSummary/sparklines.tpl
===================================================================
--- plugins/VisitsSummary/sparklines.tpl	(wersja 409)
+++ plugins/VisitsSummary/sparklines.tpl	(kopia robocza)
@@ -1,9 +1,9 @@
 <div id="to remove this div" class="parentDiv">
-<p><img class="sparkline" src="{$urlSparklineNbVisits}" /> <span><strong>{$nbVisits} </strong>visits</span></p>
-<p><img class="sparkline" src="{$urlSparklineNbUniqVisitors}" /> <span><strong>{$nbUniqVisitors}</strong> unique visitors</span></p>
-<p><img class="sparkline" src="{$urlSparklineNbActions}" /> <span><strong>{$nbActions}</strong> actions (page views)</span></p>
-<p><img class="sparkline" src="{$urlSparklineSumVisitLength}" /> <span><strong>{$sumVisitLength|sumtime}</strong> total time spent by the visitors</span></p>
-<p><img class="sparkline" src="{$urlSparklineMaxActions}" /> <span><strong>{$maxActions}</strong> max actions in one visit</span></p>
-<p><img class="sparkline" src="{$urlSparklineBounceCount}" /> <span><strong>{$bounceCount} </strong>visitors have bounced (left the site after one page)</span></p>
+<p><img class="sparkline" src="{$urlSparklineNbVisits}" /> <span><strong>{$nbVisits} </strong> {'VisitsSummary_NbVisits'|translate}</span></p>
+<p><img class="sparkline" src="{$urlSparklineNbUniqVisitors}" /> <span><strong>{$nbUniqVisitors}</strong> {'VisitsSummary_NbUniqueVisitors'|translate}</span></p>
+<p><img class="sparkline" src="{$urlSparklineNbActions}" /> <span><strong>{$nbActions}</strong> {'VisitsSummary_NbActions'|translate}</span></p>
+<p><img class="sparkline" src="{$urlSparklineSumVisitLength}" /> <span><strong>{$sumVisitLength|sumtime}</strong> {'VisitsSummary_TotalTime'|translate}</span></p>
+<p><img class="sparkline" src="{$urlSparklineMaxActions}" /> <span><strong>{$maxActions}</strong> {'VisitsSummary_MaxNbActions'|translate}</span></p>
+<p><img class="sparkline" src="{$urlSparklineBounceCount}" /> <span><strong>{$bounceCount}</strong> {'VisitsSummary_NbBounced'|translate}</span></p>
 
-</div>
\ brakuje znaku końca linii na końcu pliku 
+</div>
Index: plugins/Actions/Actions.php
===================================================================
--- plugins/Actions/Actions.php	(wersja 409)
+++ plugins/Actions/Actions.php	(kopia robocza)
@@ -37,6 +37,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
+			'translationAvailable' => false
 		);
 		
 		return $info;
Index: plugins/Installation/Installation.php
===================================================================
--- plugins/Installation/Installation.php	(wersja 409)
+++ plugins/Installation/Installation.php	(kopia robocza)
@@ -29,7 +29,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 		
 		return $info;
@@ -67,12 +67,8 @@
 		}
 		else
 		{
-			Piwik::exitWithErrorMessage("
-				The Piwik configuration file couldn't be found and you are trying to access a Piwik page.<br>
-				<b>&nbsp;&nbsp;&raquo; You can <a href='index.php'>install Piwik now</a></b>
-				<br><small>If you installed Piwik before and have some tables in your DB, don't worry, 
-				you can reuse the same tables and keep your existing data!</small>");
+			Piwik::exitWithErrorMessage(Piwik_Translate('Installation_NoConfigFound'));
 		}
 		exit;
 	}	
-}
\ brakuje znaku końca linii na końcu pliku 
+}
Index: plugins/Installation/templates/systemCheck.tpl
===================================================================
--- plugins/Installation/templates/systemCheck.tpl	(wersja 409)
+++ plugins/Installation/templates/systemCheck.tpl	(kopia robocza)
@@ -2,37 +2,30 @@
 {assign var=error value="<img src='themes/default/images/error.png' />"}
 {assign var=warning value="<img src='themes/default/images/warning.png' />"}
 
-<h1>System check</h1>
+<h1>{'Installation_SystemCheck'|translate}</h1>
 
 
 <table class="infosServer">
 	<tr>
-		<td class="label">PHP version &gt; {$infos.phpVersion_minimum}</td>
+		<td class="label">{'Installation_SystemCheckPhp'|translate} &gt; {$infos.phpVersion_minimum}</td>
 		<td>{if $infos.phpVersion_ok}{$ok}{else}{$error}{/if}</td>
 	</tr><tr>
-		<td class="label">Pdo extension</td>
+		<td class="label">{'Installation_SystemCheckPdo'|translate}</td>
 		<td>{if $infos.pdo_ok}{$ok}
 		{else}{$error}{/if}	
 		</td>
 	</tr>  
 	<tr>
-		<td class="label">Pdo_Mysql extension</td>
+		<td class="label">{'Installation_SystemCheckPdoMysql'|translate}</td>
 		<td>{if $infos.pdo_mysql_ok}{$ok}
 		{else}{$error}
 		{/if}
 		
 		{if !$infos.pdo_mysql_ok || !$infos.pdo_ok}
-			<p class="error" style="width:80%">You need to enable the <code>php_pdo</code> and <code>php_pdo_mysql</code> extensions in your 
-			php.ini file.
+			<p class="error" style="width:80%">{'Installation_SystemCheckPdoError'|translate}
 			<small>
-			<br><br>On a windows server you can add the lines 
-			<code>extension=php_pdo.dll
-				extension=php_pdo_mysql.dll</code> in your php.ini 
-			
-			<br><br>On a Linux server you can compile php with the following option
-			<code>--with-pdo-mysql </code> 
-			
-			<br><br>More information on the <a style="color:red" href='http://php.net/pdo'>PHP website</a>.
+			<br><br>
+			{'Installation_SystemCheckPdoErrorHelp'|translate}
 			</small>
 			</p>
 		{/if}
@@ -42,13 +35,13 @@
 	
 	{* We don't use utf8_encode currently but I think we will soon so I leave the code here
 	<tr>
-		<td class="label">PHP-XML extension <br> (utf8_decode function)</td>
+		<td class="label">{'Installation_SystemCheckPhpXml'|translate} <br> (utf8_decode function)</td>
 	    <td>{if $infos.phpXml_ok}{$ok}{else}{$error}{/if}</td>
 	</tr>
 	*}
 	<tr>
 		<td valign="top">
-			Directories with write access
+			{'Installation_SystemCheckWriteDirs'|translate}
 		</td>
 		<td>
 			{foreach from=$infos.directories key=dir item=bool}
@@ -64,7 +57,7 @@
 {if $problemWithSomeDirectories}
 	<br>
 	<div class="error">
-		To fix this error on your Linux system, try typing in the following command(s):
+			{'Installation_SystemCheckWriteDirsHelp'|translate}:
 	{foreach from=$infos.directories key=dir item=bool}
 		<ul>{if !$bool}
 			<li>chmod a+w {$basePath}{$dir}</li>
@@ -77,42 +70,40 @@
 <h1>Optional</h1>
 <table class="infos">
 	<tr>
-		<td class="label">Memory limit</td>
+		<td class="label">{'Installation_SystemCheckMemoryLimit'|translate}</td>
 		<td>
 			{$infos.memoryCurrent}
 			{if $infos.memory_ok}{$ok}{else}{$warning} 
-				<br><i>On a high traffic website, the archiving process may require more memory than currently allowed.
-				<br>See the directive memory_limit in your php.ini file if necessary.</i>{/if}	
+				<br><i>{'Installation_SystemCheckMemoryLimitHelp'|translate}</i>{/if}	
 		</td>
 	</tr>
 	<tr>
-		<td class="label">GD &gt; 2.x (graphics)</td>
+		<td class="label">{'Installation_SystemCheckGD'|translate}</td>
 		<td>
-			{if $infos.gd_ok}{$ok}{else}{$warning} <br><i>The sparklines (small graphs) will not work.</i>{/if}
+			{if $infos.gd_ok}{$ok}{else}{$warning} <br><i>{'Installation_SystemCheckGDHelp'|translate}</i>{/if}
 		</td>
 	</tr>
 	<tr>
-		<td class="label">set_time_limit() allowed</td>
+		<td class="label">{'Installation_SystemCheckTimeLimit'|translate}</td>
 		<td>{if $infos.setTimeLimit_ok}{$ok}{else}{$warning}
-			<br><i>On a high traffic website, executing the archiving process may require more time than currently allowed.
-				<br>See the directive max_execution_time  in your php.ini file if necessary.</i>{/if}</td>
+			<br><i>{'Installation_SystemCheckTimeLimitHelp'|translate}</i>{/if}</td>
 	</tr>
 	<tr>
-		<td class="label">mail() allowed</td>
+		<td class="label">{'Installation_SystemCheckMail'|translate}</td>
 		<td>{if $infos.mail_ok}{$ok}{else}{$warning}{/if}</td>
 	</tr>
 </table>
 <p><small>
 Legend:
 <br>
-{$ok} Ok<br>
-{$error} Error to be fixed<br>
-{$warning} Warning: Piwik will work normally but some features may be missing<br>
+{$ok} {'General_Ok'|translate}<br>
+{$error} {'General_Error'|translate}: {'Installation_SystemCheckError'|translate} <br>
+{$warning} {'General_Warning'|translate}: {'Installation_SystemCheckWarning'|translate} <br>
 </small></p>
 
 {if !$showNextStep}
 <p class="nextStep">
-	<a href="{url}">Refresh the page &raquo;</a>
+	<a href="{url}">{'General_Refresh'|translate} &raquo;</a>
 </p>
 
 {/if}
Index: plugins/Installation/templates/databaseSetup.tpl
===================================================================
--- plugins/Installation/templates/databaseSetup.tpl	(wersja 409)
+++ plugins/Installation/templates/databaseSetup.tpl	(kopia robocza)
@@ -1,9 +1,9 @@
-<h1>Mysql database setup</h1>
+<h1>{'Installation_MysqlSetup'|translate}</h1>
 
 {if isset($errorMessage)}
 	<div class="error">
 		<img src="themes/default/images/error_medium.png">
-		Error while trying to connect to the Mysql database:
+		{'Installation_MysqlErrorConnect'|translate}:
 		<br>{$errorMessage}
 		
 	</div>
@@ -11,4 +11,4 @@
 
 {if isset($form_data)}
 	{include file=default/genericForm.tpl}
-{/if}
\ brakuje znaku końca linii na końcu pliku 
+{/if}
Index: plugins/Installation/templates/displayJavascriptCode.tpl
===================================================================
--- plugins/Installation/templates/displayJavascriptCode.tpl	(wersja 409)
+++ plugins/Installation/templates/displayJavascriptCode.tpl	(kopia robocza)
@@ -31,10 +31,8 @@
 	<img src="themes/default/images/success_medium.png">
 </span>
 {/if}
-<h1>Javascript tag</h1>
-<p>To count all visitors, you must insert the javascript code on all of your pages.</p>
-<p>Your pages do not have to be made with PHP, Piwik will work on all kinds of pages (whether it is HTML, ASP, Perl or any other languages).</p>
-<p>Here is the code you have to insert: (copy and paste on all your pages) </P>
+<h1>{'Installation_JsTag'|translate}</h1>
+{'Installation_JsTagHelp'|translate}
 <code>
 {$javascriptTag}
 </code>
Index: plugins/Installation/templates/finished.tpl
===================================================================
--- plugins/Installation/templates/finished.tpl	(wersja 409)
+++ plugins/Installation/templates/finished.tpl	(kopia robocza)
@@ -1,11 +1,8 @@
-<h1>Congratulations</h1>
+<h1>{'Installation_Congratulations'|translate}</h1>
 
-<p>Congratulations! Your Piwik installation is complete.</p>
+{'Installation_ContratulationsHelp'|translate}
 
-<p>Make sure your javascript code is entered on your pages, 
-and wait for your first visitors!</p>
 
-
 <p class="nextStep">
-	<a href="{url module='' action=''}">Go to Piwik &raquo;</a>
+	<a href="{url module='' action=''}">{'Installation_GoToPiwik'|translate} &raquo;</a>
 </p>
Index: plugins/Installation/templates/firstWebsiteSetup.tpl
===================================================================
--- plugins/Installation/templates/firstWebsiteSetup.tpl	(wersja 409)
+++ plugins/Installation/templates/firstWebsiteSetup.tpl	(kopia robocza)
@@ -2,19 +2,19 @@
 
 {if isset($displayGeneralSetupSuccess)}
 <span id="toFade" class="success">
-	General Setup configured with success
+	{'Installation_GeneralSetupSuccess'|translate}
 	<img src="themes/default/images/success_medium.png">
 </span>
 {/if}
 
-<h1>Setup a website</h1>
+<h1>{'Installation_SetupWebsite'|translate}</h1>
 
 
 
 {if isset($errorMessage)}
 	<div class="error">
 		<img src="themes/default/images/error_medium.png">
-		There was an error when adding the website:
+		{'Installation_SetupWebsiteError'|translate}:
 		<br>- {$errorMessage}
 		
 	</div>
@@ -23,4 +23,4 @@
 
 {if isset($form_data)}
 	{include file=default/genericForm.tpl}
-{/if}
\ brakuje znaku końca linii na końcu pliku 
+{/if}
Index: plugins/Installation/templates/welcome.tpl
===================================================================
--- plugins/Installation/templates/welcome.tpl	(wersja 409)
+++ plugins/Installation/templates/welcome.tpl	(kopia robocza)
@@ -1,4 +1,3 @@
-<h1>Welcome!</h1>
-<p>Piwik is an open source web analytics software that makes it easy to get the information you want from your visitors.</p>
+<h1>{'Installation_Welcome'|translate}</h1>
 
-<p>This process is split up into {$totalNumberOfSteps} easy steps and will take around 5 minutes.</p>
\ brakuje znaku końca linii na końcu pliku 
+{'Installation_WelcomeHelp'|translate:$totalNumberOfSteps}
Index: plugins/Installation/templates/generalSetup.tpl
===================================================================
--- plugins/Installation/templates/generalSetup.tpl	(wersja 409)
+++ plugins/Installation/templates/generalSetup.tpl	(kopia robocza)
@@ -1,5 +1,5 @@
-<h1>General Setup</h1>
+<h1>{'Installation_GeneralSetup'|translate}</h1>
 
 {if isset($form_data)}
 	{include file=default/genericForm.tpl}
-{/if}
\ brakuje znaku końca linii na końcu pliku 
+{/if}
Index: plugins/Installation/templates/tablesCreation.tpl
===================================================================
--- plugins/Installation/templates/tablesCreation.tpl	(wersja 409)
+++ plugins/Installation/templates/tablesCreation.tpl	(kopia robocza)
@@ -1,27 +1,26 @@
-<h1>Creating the tables</h1>
+<h1>{'Installation_Tables'|translate}</h1>
 {if isset($someTablesInstalled)}
-	<div class="warning">Some <span id="linkToggle">Piwik tables</span> are already installed in the DB
+	<div class="warning">{'Installation_TablesWarning'|translate}
 	<img src="themes/default/images/warning_medium.png">
 	</div>
-	<div id="toggle" style="display:none;color:#4F2410"><small><i>The following tables have been found in the database: 
+	<div id="toggle" style="display:none;color:#4F2410"><small><i>{'Installation_TablesFound'|translate}:
 		<br>{$tablesInstalled} </i></small></div>
 
-	<p>Either choose to reuse the existing database tables or select a clean install 
-	to erase all existing data in the database.</p>
+	<p>{'Installation_TablesWarningHelp'|translate}</p>
 	
-	<p class="nextStep"><a href="{url action=$nextModuleName}">Reuse the existing tables &raquo;</a></p>
-	<p class="nextStep" id="eraseAllTables"><a href="{url deleteTables=1}">Delete the detected tables &raquo;</a></p>
+	<p class="nextStep"><a href="{url action=$nextModuleName}">{'Installation_TablesReuse'|translate} &raquo;</a></p>
+	<p class="nextStep" id="eraseAllTables"><a href="{url deleteTables=1}">{'Installation_TablesDelete'|translate} &raquo;</a></p>
 				
 {/if}
 
 {if isset($existingTablesDeleted)}
-	<div class="success"> Existing Piwik tables deleted with success
+	<div class="success"> {'Installation_TablesDeletedSuccess'|translate} 
 	<img src="themes/default/images/success_medium.png"></div>
 {/if}
 
 
 {if isset($tablesCreated)}
-	<div class="success"> Tables created with success! 
+	<div class="success"> {'Installation_TablesCreatedSuccess'|translate} 
 	<img src="themes/default/images/success_medium.png"></div>
 {/if}
 
@@ -32,7 +31,9 @@
 {literal}
 <script>
 $(document).ready( function(){
-	var strConfirmEraseTables = "Are you sure you want to delete all the Piwik tables from this database?";
+	{/literal}
+	var strConfirmEraseTables = "{'Installation_TablesDeleteConfirm'|translate} ";
+	{literal}	
 	
 	// toggle the display of the tables detected during the installation when clicking
 	// on the span "linkToggle"
@@ -64,4 +65,4 @@
 	;
 });
 </script>
-{/literal}
\ brakuje znaku końca linii na końcu pliku 
+{/literal}
Index: plugins/Installation/templates/structure.tpl
===================================================================
--- plugins/Installation/templates/structure.tpl	(wersja 409)
+++ plugins/Installation/templates/structure.tpl	(kopia robocza)
@@ -1,7 +1,7 @@
 
 <html>
 <head>
-<title>Piwik &raquo; Installation</title>
+<title>Piwik &raquo; {'Installation_Installation'|translate}</title>
 </head>
 <body>
 
@@ -194,18 +194,18 @@
 			{include file="$subTemplateToLoad"}
 			{if $showNextStep}
 				<p class="nextStep">
-					<a href="{url action=$nextModuleName}">Next &raquo;</a>
+					<a href="{url action=$nextModuleName}">{'General_Next'|translate} &raquo;</a>
 				</p>
 			{/if}
 		</div>
 		
 		<div class="both"></div>
 		
-		<h3>Installation status</h3>
+		<h3>{'Installation_InstallationStatus'|translate}</h3>
 		
 		<div id="installPercent">
 		<p style="width: {$percentDone}%;"></p>
 	</div>
 	
-	{$percentDone}% Done
+	{'Installation_PercentDone'|translate:$percentDone} 
 </div>
Index: plugins/AdminHome/templates/index.tpl
===================================================================
--- plugins/AdminHome/templates/index.tpl	(wersja 409)
+++ plugins/AdminHome/templates/index.tpl	(kopia robocza)
@@ -21,6 +21,6 @@
 </div>
 
 <div id="footer" style="border-top:1px solid gray; margin-top:20px;padding-top:10px;">
-<a href='?module=Home'>Back to Piwik homepage</a>
+<a href='?module=Home'>{'General_BackToHomepage'|translate}</a>
 
 </div>
Index: plugins/UserCountry/lang/en.php
===================================================================
--- plugins/UserCountry/lang/en.php	(wersja 409)
+++ plugins/UserCountry/lang/en.php	(kopia robocza)
@@ -1,6 +1,10 @@
 <?php
 $translations = array (
 
+	'UserCountry_Country' => 'Country',
+	'UserCountry_Continent' => 'Continent',
+	'UserCountry_DistinctCountries' => 'distinct countries',
+	
 	// Countries
 	'country_ac' => 'Ascension Islands',
 	'country_ad' => 'Andorra',
Index: plugins/UserCountry/index.tpl
===================================================================
--- plugins/UserCountry/index.tpl	(wersja 409)
+++ plugins/UserCountry/index.tpl	(kopia robocza)
@@ -2,12 +2,12 @@
 
 <script type="text/javascript" src="plugins/Home/templates/sparkline.js"></script>
 
-<h2>Country</h2>
+<h2>{'UserCountry_Country'|translate}</h2>
 {$dataTableCountry}
 
-<h2>Continent</h2>
+<h2>{'UserCountry_Continent'|translate}</h2>
 {$dataTableContinent}
 
-<p><img class="sparkline" src="{$urlSparklineCountries}" /> <span><strong>{$numberDistinctCountries} </strong> distinct countries</span></p>	
+<p><img class="sparkline" src="{$urlSparklineCountries}" /> <span><strong>{$numberDistinctCountries} </strong> {'UserCountry_DistinctCountries'|translate} </span></p>	
 
-{postEvent name="template_footerUserCountry"}
\ brakuje znaku końca linii na końcu pliku 
+{postEvent name="template_footerUserCountry"}
Index: plugins/Login/templates/login.tpl
===================================================================
--- plugins/Login/templates/login.tpl	(wersja 409)
+++ plugins/Login/templates/login.tpl	(kopia robocza)
@@ -27,13 +27,13 @@
 {if $form_data.errors}
 <div id="login_error">	
 	{foreach from=$form_data.errors item=data}
-		<strong>ERROR</strong>: {$data}<br />
+		<strong>{'General_Error'|translate}</strong>: {$data}<br />
 	{/foreach}
 </div>
 {/if}
 
 {if $AccessErrorString}
-<div id="login_error"><strong>ERROR</strong>: {$AccessErrorString}<br /></div>
+<div id="login_error"><strong>{'General_Error'|translate}</strong>: {$AccessErrorString}<br /></div>
 {/if}
 
 <form {$form_data.attributes}>
@@ -57,7 +57,7 @@
 
 {*
 <p id="nav">
-<a href="" title="Password Lost and Found">Lost your password?</a>
+<a href="" title="Password Lost and Found">{'Login_LostYourPassword'|translate}</a>
 </p>
 *}
 </div>
Index: plugins/Login/Login.php
===================================================================
--- plugins/Login/Login.php	(wersja 409)
+++ plugins/Login/Login.php	(kopia robocza)
@@ -27,7 +27,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 		
 		return $info;
Index: plugins/API/API.php
===================================================================
--- plugins/API/API.php	(wersja 409)
+++ plugins/API/API.php	(kopia robocza)
@@ -20,7 +20,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
-			'translationAvailable' => false,
+			'translationAvailable' => true,
 		);
 	}
 }
Index: plugins/API/Controller.php
===================================================================
--- plugins/API/Controller.php	(wersja 409)
+++ plugins/API/Controller.php	(kopia robocza)
@@ -55,18 +55,15 @@
 	function listAllAPI()
 	{
 		$token_auth = Zend_Registry::get('auth')->getTokenAuth();
-		echo "<style>body{ font-family:georgia,arial; font-size:0.95em;} </style>";
-		echo "<h1>API quick documentation</h1>";
-		echo "<p>If you don't have data for today you can first <a href='misc/generateVisits.php' target=_blank>generate some data</a> using the Visits Generator script.</p>";
-		echo "<p>You can try the different formats available for every method. It is very easy to extract any data you want from piwik!</p>";
-		echo "<p>If you want to <b>request the data without being logged in to Piwik</b> you need to add the parameter <code><u>&token_auth=$token_auth</u></code> to the API calls URLs that require authentication.</p>";
-		echo "<p><b>For more information have a look at the <a href='http://dev.piwik.org/trac/wiki/API'>official API Documentation</a> or the <a href='http://dev.piwik.org/trac/wiki/API/Reference'>API Reference</a>.</b></P>";
+		echo "<style>body{ font-family:georgia,arial; font-size:0.95em;} </style>";
+		echo sprintf(Piwik_Translate('API_QuickDocumentation'),$token_auth);
+
 
 		$loaded = $this->init();
-		echo "<p><i> Loaded successfully $loaded APIs</i></p>\n";
+		echo "<p><i> ".sprintf(Piwik_Translate('API_LoadedAPIs'),$loaded)."</i></p>\n";
 		
 		echo Piwik_API_Proxy::getInstance()->getAllInterfaceString();
-		echo "<p><a href='?module=Home'>Back to Piwik homepage</a></p>";
+		echo "<p><a href='?module=Home'>".Piwik_Translate('General_BackToHomepage')."</a></p>";
 	}
 	
 }
Index: plugins/Referers/lang/en.php
===================================================================
--- plugins/Referers/lang/en.php	(wersja 409)
+++ plugins/Referers/lang/en.php	(kopia robocza)
@@ -1,10 +1,27 @@
 <?php
 $translations = array(
-	'Referers_DirectEntry' => 'Direct Entry',
 	'Referers_SearchEngines' => 'Search Engines',
-	'Referers_Websites' => 'Websites',
-	'Referers_Partners' => 'Partners',
-	'Referers_Newsletters' => 'Newsletters',
-	'Referers_Campaigns' => 'Campaigns',
+	
+	'Referers_Keywords' => 'Keywords',
+	
+	'Referers_Evolution' => 'Evolution over the period',
+	
+	'Referers_Type' => 'Referer Type',	
+	'Referers_TypeDirectEntries' => 'direct entries',
+	'Referers_TypeSearchEngines' => 'from search engines',
+	'Referers_TypePartners' => 'from partners',
+	'Referers_TypeWebsites' => 'from websites',
+	'Referers_TypeNewsletters' => 'from newsletters',
+	'Referers_TypeCampaigns' => 'from campaigns',
+	
+	'Referers_Other' => 'Other',
+	'Referers_OtherDistinctSearchEngines' => 'distinct search engines',
+	'Referers_OtherDistinctKeywords' => 'distinct keywords',
+	'Referers_OtherDistinctWebsites' => 'distinct websites (using <strong>%s</strong> distinct urls)',
+	'Referers_OtherDistinctPartners' => 'distinct partners (using <strong>%s</strong> distinct urls)',
+	'Referers_OtherDistinctCampaigns' => 'distinct campaigns',
+	
+	'Referers_TagCloud' => 'Tag cloud output',
+
 );
  
Index: plugins/Referers/searchEngines_Keywords.tpl
===================================================================
--- plugins/Referers/searchEngines_Keywords.tpl	(wersja 409)
+++ plugins/Referers/searchEngines_Keywords.tpl	(kopia robocza)
@@ -1,9 +1,9 @@
 <div id='leftcolumn'>
-	<h2>Search engines</h2>
+	<h2>{'Referers_SearchEngines'|translate}</h2>
 	{$searchEngines}
 </div>
 
 <div id='rightcolumn'>
-	<h2>Keywords</h2>
+	<h2>{'Referers_Keywords'|translate}</h2>
 	{$keywords}
 </div>
Index: plugins/Referers/index.tpl
===================================================================
--- plugins/Referers/index.tpl	(wersja 409)
+++ plugins/Referers/index.tpl	(kopia robocza)
@@ -1,33 +1,33 @@
 <script type="text/javascript" src="plugins/Home/templates/sparkline.js"></script>
 
 	<a name="evolutionGraph" graphId="{$nameGraphEvolutionReferers}"></a>
-	<h2>Evolution over the period</h2>
+	<h2>{'Referers_Evolution'|translate}</h2>
 	{$graphEvolutionReferers}
 	
-	<h2>Referer Type</h2>
+	<h2>{'Referers_Type'|translate}</h2>
 	<table>
 		<tr><td>
-			<p><img class="sparkline" src="{$urlSparklineDirectEntry}" /> <span><strong>{$visitorsFromDirectEntry} </strong> direct entries</span></p>
-			<p><img class="sparkline" src="{$urlSparklineSearchEngines}" /> <span><strong>{$visitorsFromSearchEngines} </strong>  from search engines</span></p>
-			<p><img class="sparkline" src="{$urlSparklinePartners}" /> <span><strong>{$visitorsFromPartners} </strong> from partners</span></p>
+			<p><img class="sparkline" src="{$urlSparklineDirectEntry}" /> <span><strong>{$visitorsFromDirectEntry} </strong> {'Referers_TypeDirectEntries'|translate}</span></p>
+			<p><img class="sparkline" src="{$urlSparklineSearchEngines}" /> <span><strong>{$visitorsFromSearchEngines} </strong>  {'Referers_TypeSearchEngines'|translate}</span></p>
+			<p><img class="sparkline" src="{$urlSparklinePartners}" /> <span><strong>{$visitorsFromPartners} </strong> {'Referers_TypePartners'|translate}</span></p>
 		</td><td>
-			<p><img class="sparkline" src="{$urlSparklineWebsites}" /> <span><strong>{$visitorsFromWebsites} </strong> from websites</span></p>
-			<p><img class="sparkline" src="{$urlSparklineNewsletters}" /> <span><strong>{$visitorsFromNewsletters} </strong>  from newsletters</span></p>
-			<p><img class="sparkline" src="{$urlSparklineCampaigns}" /> <span><strong>{$visitorsFromCampaigns} </strong>  from campaigns</span></p>
+			<p><img class="sparkline" src="{$urlSparklineWebsites}" /> <span><strong>{$visitorsFromWebsites} </strong> {'Referers_TypeWebsites'|translate}</span></p>
+			<p><img class="sparkline" src="{$urlSparklineNewsletters}" /> <span><strong>{$visitorsFromNewsletters} </strong>  {'Referers_TypeNewsletters'|translate}</span></p>
+			<p><img class="sparkline" src="{$urlSparklineCampaigns}" /> <span><strong>{$visitorsFromCampaigns} </strong>  {'Referers_TypeCampaigns'|translate}</span></p>
 		</td></tr>
 	</table>
 	
-	<h2>Other</h2>
+	<h2>{'Referers_Other'|translate}</h2>
 	<table>
 		<tr><td>
-			<p><img class="sparkline" src="{$urlSparklineDistinctSearchEngines}" /> <span><strong>{$numberDistinctSearchEngines} </strong>  distinct search engines</span></p>
-			<p><img class="sparkline" src="{$urlSparklineDistinctKeywords}" /> <span><strong>{$numberDistinctKeywords} </strong> distinct keywords</span></p>
+			<p><img class="sparkline" src="{$urlSparklineDistinctSearchEngines}" /> <span><strong>{$numberDistinctSearchEngines} </strong>  {'Referers_OtherDistinctSearchEngines'|translate}</span></p>
+			<p><img class="sparkline" src="{$urlSparklineDistinctKeywords}" /> <span><strong>{$numberDistinctKeywords} </strong> {'Referers_OtherDistinctKeywords'|translate}</span></p>
 		</td><td>
-			<p><img class="sparkline" src="{$urlSparklineDistinctWebsites}" /> <span><strong>{$numberDistinctWebsites} </strong>  distinct websites (using <strong>{$numberDistinctWebsitesUrls}</strong> distinct urls)</span></p>
-			<p><img class="sparkline" src="{$urlSparklineDistinctPartners}" /> <span><strong>{$numberDistinctPartners} </strong>   distinct partners (using <strong>{$numberDistinctPartnersUrls}</strong> distinct urls)</span></p>
-			<p><img class="sparkline" src="{$urlSparklineDistinctCampaigns}" /> <span><strong>{$numberDistinctCampaigns} </strong>  distinct campaigns</span></p>
+			<p><img class="sparkline" src="{$urlSparklineDistinctWebsites}" /> <span><strong>{$numberDistinctWebsites} </strong>  {'Referers_OtherDistinctWebsites'|translate:$numberDistinctWebsitesUrls}</span></p>
+			<p><img class="sparkline" src="{$urlSparklineDistinctPartners}" /> <span><strong>{$numberDistinctPartners} </strong>  {'Referers_OtherDistinctPartners'|translate:$numberDistinctPartnersUrls}</span></p>
+			<p><img class="sparkline" src="{$urlSparklineDistinctCampaigns}" /> <span><strong>{$numberDistinctCampaigns} </strong>  {'Referers_OtherDistinctCampaigns'|translate}</span></p>
 			</td></tr>
 	</table>
 	
-	<p>Tag cloud output</p>
-	{$dataTableRefererType}
\ brakuje znaku końca linii na końcu pliku 
+	<p>{'Referers_TagCloud'|translate}</p>
+	{$dataTableRefererType}
Index: plugins/VisitTime/VisitTime.php
===================================================================
--- plugins/VisitTime/VisitTime.php	(wersja 409)
+++ plugins/VisitTime/VisitTime.php	(kopia robocza)
@@ -29,6 +29,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
+			'translationAvailable' => true
 		);
 		
 		return $info;
Index: plugins/VisitTime/index.tpl
===================================================================
--- plugins/VisitTime/index.tpl	(wersja 409)
+++ plugins/VisitTime/index.tpl	(kopia robocza)
@@ -1,9 +1,9 @@
 <div id='leftcolumn'>
-<h2>Visit per local time</h2>
+<h2>{'VisitTime_LocalTime'|translate}</h2>
 {$dataTableVisitInformationPerLocalTime}
 </div>
 
 <div id='rightcolumn'>
-<h2>Visit per server time</h2>
+<h2>{'VisitTime_ServerTime'|translate}</h2>
 {$dataTableVisitInformationPerServerTime}
-</div>
\ brakuje znaku końca linii na końcu pliku 
+</div>
Index: plugins/VisitorInterest/VisitorInterest.php
===================================================================
--- plugins/VisitorInterest/VisitorInterest.php	(wersja 409)
+++ plugins/VisitorInterest/VisitorInterest.php	(kopia robocza)
@@ -49,6 +49,7 @@
 			'author' => 'Piwik',
 			'homepage' => 'http://piwik.org/',
 			'version' => '0.1',
+			'translationAvailable' => true
 		);
 		
 		return $info;
Index: plugins/VisitorInterest/index.tpl
===================================================================
--- plugins/VisitorInterest/index.tpl	(wersja 409)
+++ plugins/VisitorInterest/index.tpl	(kopia robocza)
@@ -1,5 +1,5 @@
 
-	<h2>Visits per visit duration</h2>
+	<h2>{'VisitorInterest_VisitsPerDuration'|translate}</h2>
 	{$dataTableNumberOfVisitsPerVisitDuration}
-	<h2>Visits per number of pages</h2>
-	{$dataTableNumberOfVisitsPerPage}
\ brakuje znaku końca linii na końcu pliku 
+	<h2>{'VisitorInterest_VisitsPerNbOfPages'|translate}</h2>
+	{$dataTableNumberOfVisitsPerPage}
Index: lang/en.php
===================================================================
--- lang/en.php	(wersja 409)
+++ lang/en.php	(kopia robocza)
@@ -2,10 +2,25 @@
 $translations = array(
 	'General_Unknown' => 'Unknown',
 	'General_Required' => '%s required',
-
-	'Login_LoginPasswordNotCorrect' => 'Username & Password not correct',
-	'Login_Login' => 'Username',
-	'Login_Password' => 'Password',
-	'Login_LogIn' => 'Log in',
-	
-);
\ brakuje znaku końca linii na końcu pliku 
+	'General_Error' => 'Error',
+	'General_Warning' => 'Warning',
+	'General_BackToHomepage' => 'Back to Piwik homepage',
+	'General_Yes' => 'Yes',
+	'General_No' => 'No',
+	'General_Delete' => 'Delete',
+	'General_Edit' => 'Edit',
+	'General_Ok' => 'Ok',
+	'General_Close' => 'Close',
+	'General_Logout' => 'Logout',
+	'General_Done' => 'Done',
+	'General_LoadingData' => 'Loading data...',
+	'General_ErrorRequest' => 'Oops&hellip; problem during the request, please try again.',
+	'General_Next' => 'Next',
+	'General_Previous' => 'Previous',
+	'General_Table' => 'Table',
+	'General_Piechart' => 'Piechart',
+	'General_TagCloud' => 'Tag Cloud',
+	'General_VBarGraph' => 'Vertial bar graph',
+	'General_GraphData' => 'Graph data',
+	'General_Refresh' => 'Refresh the page',
+);
Index: lang/fr.php
===================================================================
--- lang/fr.php	(wersja 409)
+++ lang/fr.php	(kopia robocza)
@@ -2,10 +2,4 @@
 $translations = array(
 	'General_Unknown' => 'Inconnu',
 	'General_Required' => '%s requis',
-
-	'Login_LoginPasswordNotCorrect' => 'Utilisateur & Mot de passe not correct',
-	'Login_Login' => 'Utilisateur',
-	'Login_Password' => 'Mot de passe',
-	'Login_LogIn' => 'Log in',
-	
 );

