Missing "array_merge" when the custom.php file is created by Tiki (admin, I18n)
- Status
- Closed
- Subject
- Missing "array_merge" when the custom.php file is created by Tiki (admin, I18n)
- Version
- 18.x
21.x - Category
- Bug
- Easy for Newbie Dev
- Less than 30-minutes fix
- Feature
- i18n (Multilingual, l10n, Babelfish)
- Resolution status
- Confirmed
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- hman
- Rating
- Related-to
- Description
When you use the I18n admin control panel for the first time to create a custom translation (/tiki-language-manage_custom_translations) , it create the custom.php file.
However translation are not performed as it miss at the end of the file (like in the sample file we distribute : custom.php_example)
$lang = array_merge($lang, $lang_custom);
Once you paste it custom translation are working.Update: Even if you paste it in the file it is removed each time a translation is saved.
- Solution
Fixed in master, 22.x, 21.x
- Importance
- 7
- Easy to solve?
- 10 easy
- Priority
- 70
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7399
- Created
- Monday 22 June, 2020 10:38:50 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Friday 04 June, 2021 15:52:04 UTC