Loading...
 
Skip to main content

Wrong encoding at main app menu in side column with non-English lang

Status
Closed
Subject
Wrong encoding at main app menu in side column with non-English lang
Version
24.x
Category
  • Error
  • Regression
Feature
i18n (Multilingual, l10n, Babelfish)
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
luci
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Strings from the main app menu in the side column in 24.x from git today, or tiki24beta(.tar.gz) show wrong encoding.
Reproduced with Catalan, Spanish and French,

Using all defaults. In Ubuntu 18.04 and 20.04 computers, with mysql Innodb (all default options at installation time)

Image


Attempting to create a show2.t.o instance, I get this error (could it be related?)

Copy to clipboard
Fatal error: Uncaught Error: Undefined constant 'TIKI_PATH' in /var/www/xavi-9794-8089/lib/core/Tiki/TikiInit.php:51 Stack trace: #0 /var/www/xavi-9794-8089/lib/tikilib.php(63): Tiki\TikiInit::getContainer() #1 /var/www/xavi-9794-8089/lib/init/tra.php(106): TikiLib::lib() #2 /var/www/xavi-9794-8089/lib/init/tra.php(58): init_language() #3 /var/www/xavi-9794-8089/lib/init/tra.php(27): tra() #4 /var/www/xavi-9794-8089/tiki-install.php(122): tr() #5 {main} thrown in /var/www/xavi-9794-8089/lib/core/Tiki/TikiInit.php on line 51
Solution

Hi Xavi, can you please retest? Probably fixed by this commit

Thanks!

Importance
9
Easy to solve?
6
Priority
54
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8089
Created
Wednesday 16 February, 2022 14:09:07 UTC
by Xavier de Pedro
LastModif
Thursday 17 March, 2022 12:49:35 UTC


Show PHP error messages