<?
setlocale (LC_ALL, 'en');
bindtextdomain( 'messages', "/var/www/spamwall.entorno.es/html/langs/locale");
textdomain('messages');
echo gettext ("A string to be translated would go here");
echo gettext ("Jose");
echo gettext ("Miles");
echo gettext ("Entorno");
?>
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-02-13 11:07+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: index.php:12
msgid "A string to be translated would go here"
msgstr "ENGLISH a string"
#: index.php:13
msgid "Jose"
msgstr "ENGLISH Hello Jose"
#: index.php:14
msgid "Miles"
msgstr "ENGLISH Hello Miles"
#: index.php:15
msgid "Entorno"
msgstr "ENGLISH Hello Entorno"
-----------------
screen output:
A string to be translated would go hereJoseMilesEntorno