Hallo,
ich habe weitere Texte in unser Template aufgenommen und möchte diese natürlich nun auch ordnungsgemäß übersetzen :).
So referenziere ich in einer info.tpl auf den übersetzten Text:
<h3>[{ oxmultilang ident="ALLEINVERTRIEB" }]</h3>
<div class="content">
In den cust_lang.php steht folgendes:
Englisch:
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OXID eShop Community Edition is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OXID eShop Community Edition. If not, see <http://www.gnu.org/licenses/>.
*
* @link http://www.oxid-esales.com
* @package lang
* @copyright (C) OXID eSales AG 2003-2011
* @version OXID eShop CE
* @version SVN: $Id$
*/
$sLangName = "English";
// -------------------------------
// RESOURCE IDENTITFIER = STRING
// -------------------------------
$aLang = array(
'TELEFON' => "Phone";
'ALLEINVERTRIEB' => "Exclusive selling";
'charset' => 'ISO-8859-15'
);
/*
[{ oxmultilang ident="GENERAL_YOUWANTTODELETE" }]
*/
Deutsch:
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OXID eShop Community Edition is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OXID eShop Community Edition. If not, see <http://www.gnu.org/licenses/>.
*
* @link http://www.oxid-esales.com
* @package lang
* @copyright (C) OXID eSales AG 2003-2011
* @version OXID eShop CE
* @version SVN: $Id$
*/
$sLangName = "Deutsch";
// -------------------------------
// RESOURCE IDENTITFIER = STRING
// -------------------------------
$aLang = array(
'TELEFON' => "Tel.";
'ALLEINVERTRIEB' => "Alleinvertrieb";
'charset' => 'ISO-8859-15'
);
/*
[{ oxmultilang ident="GENERAL_YOUWANTTODELETE" }]
*/
Wenn ich nun die language-Dateien überspiele und das tmp Verzeichnis leere, ist der Shop down.
Ohne die passenden Spracheinträge werden momentan nur die Identifier an der entsprechenden Stelle ausgegeben.
Was mach ich falsch?