Commit 66147bb2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

i18n stuff, update links.

parent d82cd382
<?php
$title = "VideoLAN documentation internationalization";
$lang = "en";
$date = "6 February 2004";
?>
<h1>VideoLAN internationalization</h1>
<h2>VideoLAN documentation internationalization</h2>
<p>Todo</p>
<?php
$title = "VideoLAN documentation localization";
$lang = "en";
$date = "6 February 2004";
?>
<h1>VideoLAN internationalization</h1>
<h2>VideoLAN documentation internationalization</h2>
<?
$reffile = "/var/www/local/developers.videolan.org/i18n/doc_";
$lgfile="/var/www/local/developers.videolan.org/i18n/doc_languages";
$file_id=fopen($lgfile,"r");
$contents = fread ($file_id, filesize($lgfile) );
fclose ($file_id );
$languages = explode( "\n", $contents );
echo "<p>";
for($i=0; $i< count($languages)-1;$i++)
{
list($lg_id,$lg_name) = explode(' ',$languages[$i] );
echo "<a href=\"docstat.".$lg_id.".html\">".$lg_name;
echo"</a>&nbsp;&nbsp;";
}
echo "</p>\n";
if( isset( $_GET['lang'] ) )
{
echo "<h3>Statistics for ".$_GET['lang']."</h3>";
$filename=$reffile.$_GET['lang'];
$file_id= fopen($filename,"r");
$contents = fread ($file_id, filesize($filename) );
fclose ($file_id );
$files = explode( "\n", $contents );
for($i=0;$i< count($files) -1;$i++)
{
list($pb,$file,$old,$new) = explode(' ',$files[$i] );
if($pb=="ut")
{
echo "<span style=\"color:red;\">$file
is untranslated</span><br />";
}
else if($pb=="nr")
{
echo "<span style=\"color:red;\">No revision
info found in $file </span><br />";
}
else if($pb=="ic")
{
echo "<span style=\"color:red;\">Inconsistency
found for $file ($old -> $new )</span><br />";
}
else if($pb=="nu")
{
echo "<span style=\"color:orange;\">$file
is not up to date ($old -> $new)</span><br />";
}
}
}
?>
......@@ -2,10 +2,18 @@
$title = "VLC media player internationalization";
$lang = "en";
$date = "6 February 2004";
$menu = array( "developers", "i18n" );
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php");
require($_SERVER["DOCUMENT_ROOT"]."/include/os-specific.php");
?>
<h1>VideoLAN internationalization</h1>
<p>This page is dedicated to the various <abbr title="Internationalization is the fact of building a multilingual-enabled architectur.">internationalization</abbr> (i18n) and <abbr title="Localization is the fact of translating what is needed in various languages">localization</abbr> (l10n) efforts in the VideoLAN project</p>
<p>Now, only <a href="/developers/vlc.html">VLC media player</a> is been processed through internalization.</p>
<h2>VLC media player internationalization</h2>
<p>VLC media player is translated using <a
......@@ -53,4 +61,4 @@ for($i=0;$i<count($langs) -1;$i++ )
?>
</table>
<?php footer('$Id$'); ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment