svn: /phpdoc/de/trunk/reference/gettext/functions/ gettext.xml

[email protected] ("Carola 'Sammy' Kummert")
Newsgroups php.doc.de
Message-ID <[email protected]>
sammywg                                  Thu, 21 Jan 2010 02:53:01 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=293798

Log:
sync with en

Changed paths:
    U   phpdoc/de/trunk/reference/gettext/functions/gettext.xml

Modified: phpdoc/de/trunk/reference/gettext/functions/gettext.xml
===================================================================
--- phpdoc/de/trunk/reference/gettext/functions/gettext.xml	2010-01-21 02:48:45 UTC (rev 293797)
+++ phpdoc/de/trunk/reference/gettext/functions/gettext.xml	2010-01-21 02:53:01 UTC (rev 293798)
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 289048 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 293477 Maintainer: sammywg Status: ready -->

 <refentry xml:id="function.gettext" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -53,6 +53,7 @@
 <![CDATA[
 <?php
 // Sprache auf Deutsch setzen
+putenv('LC_ALL=de_DE');
 setlocale(LC_ALL, 'de_DE');

 // Angeben des Pfads der Übersetzungstabellen
@@ -81,6 +82,13 @@
    <para>
     Sie können einen Unterstrich '_' als Alias für diese Funktion verwenden.
    </para>
+		</note>
+		<note>
+		 <para>
+		  Das reine Setzen einer Sprachangabe reicht bei einigen Systemen nicht aus.
+		  Daher sollte <function>putenv</function> verwendet werden, um die aktuelle
+		  lokale Umgebung zu definieren.
+		 </para>
   </note>
  </refsect1>

@@ -92,8 +100,10 @@
    </simplelist>
   </para>
  </refsect1>
+
 </refentry>

+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.