How to change the translation / Change language file / Examples.

19.02.2012 17:11
#1
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 26064
How to change the translation / Change language file / Examples.

Joomshopping 5
Video: https://www.youtube.com/watch?v=eUDhnlohGo4

Option 1) Use Joomla backend.
Overrides Example:

Joomla / System / Languages: Overrides

Add new

Language Constant: JSHOP_PRODUCT_NOT_AVAILABLE
Text: Out of stock

Option 2) Use file edit.
Frontend file (english):
components\com_jshopping\language\en-GB\en-GB.com_jshopping.ini

Backend file (german):
administrator\components\com_jshopping\lang\de-DE.php\de-DE.com_jshopping.ini


JoomShopping 4

Use file edit.

Frontend file (english):
components\com_jshopping\lang\en-GB.php

Backend file (german):
administrator\components\com_jshopping\lang\de-DE.php

use notepad, notepad ++ or php editor
Save file as utf-8 without BOM


Example code (translation)

define('_JSHOP_PRODUCTS', 'Products');

_JSHOP_PRODUCTS - variable
Products - translation


OR use:
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/addons.html
Lang editor


Последнее изменение: 18.02.2024 10:12
 
25.07.2014 21:33
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 26064
Module translations

Change or create file:
\language\de-DE\de-DE.mod_modulename.ini (language = de / module = modulename)


Example module joomshopping cart
\language\de-DE\de-DE.mod_jshopping_cart.ini

 
01.02.2024 19:03
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 26064
Language Override for Shop Add-ons

For addons widh old translation system - need create folder override.

Example:
addon language folder:
components\com_jshopping\lang\addon_require_products

addon override language folder:
components\com_jshopping\lang\override\addon_require_products

--------------------------------------------------
*old translation system:
file: en-GB.php

define('_JSHOP_TEXT', 'TEXT');

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.