Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:add-on-name/languages/en./conf/language.php can't be used; you would need one for each language.
Max_B can do that by setting something like that in his extension.
Extensions need to set default definitions (using SetDefinition() you don't overwrite already set definition) for each languages that the extension author can translate his definitions to.
Extensions definition could be set in /extensions/<extension>/language/<language>/definitions.php, and to use the good definitions, you would have something like that in extension code:
define('THIS_EXTENSION_PATH', dirname(__FILE__) . '/');
@include(THIS_EXTENSION_PATH . 'language/' . $Context->Configuration['LANGUAGE'] .'/definitions.php');
include(THIS_EXTENSION_PATH . 'language/English/definitions.php');// Enabled Extensions
@include($Configuration['EXTENSIONS_PATH']."RSS2/{$Configuration['LANGUAGE']}.php");
include($Configuration['EXTENSIONS_PATH']."RSS2/default.php");
@include($Configuration['EXTENSIONS_PATH']."CategoryJumper/{$Configuration['LANGUAGE']}.php");
include($Configuration['EXTENSIONS_PATH']."CategoryJumper/default.php");
@include($Configuration['EXTENSIONS_PATH']."PanelLists/{$Configuration['LANGUAGE']}.php");
include($Configuration['EXTENSIONS_PATH']."PanelLists/default.php");
//etc...The supplemental include is automatically added by a small patch to the core, that was the question/suggestion to Mark on the dead VanillaDev discussion.include($Configuration['LANGUAGES_PATH'].$Configuration['LANGUAGE'].'/definitions.php');
include($Configuration['APPLICATION_PATH'].'conf/language.php');include($Configuration['APPLICATION_PATH'].'conf/init_language.php');
include($Configuration['APPLICATION_PATH'].'conf/language.php');<?php
include($Configuration['LANGUAGES_PATH'].$Configuration['LANGUAGE'].'/definitions.php');
?>include($Configuration['LANGUAGES_PATH'].$Configuration['LANGUAGE'].'/definitions.php');extensions/*/LANGUAGE.php
extensions/*/translations/LANGUAGE.php
languages/LANGUAGE/extensions/*.php
conf/LANGUAGE.php$Context->SetDefinition('key', 'value');
$Context->Dictionary['key'] = 'value';1 to 21 of 21