Changes between Version 2 and Version 3 of Dol7UpgradeCustomTranslations
- Timestamp:
- Nov 27, 2012, 4:25:09 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dol7UpgradeCustomTranslations
v2 v3 6 6 The upgrade script can do it for you if you create special files BEFORE THE UPGRADE PROCESS. 7 7 8 Have a look at the '''''upgrade/files/7.X.X-7.X.X/''''' and '''''upgrade/files/7.X.X-7.X.X/modules/*/''''' directories. There are '''''lang_en.php''''' files by default in these directories - these files contains changes in language files. You need to create a translated copy of '''''lang_en.php''''' for your custom language . For example, if you have the Italian language installed you need to add '''''lang_it.php''''' files.8 Have a look at the '''''upgrade/files/7.X.X-7.X.X/''''' and '''''upgrade/files/7.X.X-7.X.X/modules/*/''''' directories. There are '''''lang_en.php''''' files by default in these directories - these files contains changes in language files. You need to create a translated copy of '''''lang_en.php''''' for your custom language in the same directory. For example, if you have the Italian language installed you need to add '''''lang_it.php''''' files. 9 9 10 10 After you created appropriate files - run the upgrade process - all new language keys for your custom language will be added automatically.