No Code Attached Yet
avatar fgsw
fgsw
14 Nov 2023

Steps to reproduce the issue

Installation of Blog Sample Data using Danish language.

Expected result

Installation successful.

Actual result

Installation fails at step 1:
bsd-danish

System information (as much as possible)

Linux lamp302.cloudaccess.net 3.10.0-962.3.2.lve1.5.81.el6h.x86_64 #1 SMP Wed May 31 12:07:35 UTC 2023 x86_64
mysql
8.0.34-cll-lve
utf8mb4_0900_ai_ci
utf8mb4_0900_ai_ci
None
Yes
8.1.24
Apache
cgi-fcgi
Joomla! 5.0.0 Stable [ Kuboresha ] 17-October-2023 16:00 GMT
Enabled (classes_aliases:"1", es5_assets:"1")
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0

Additional comments

Blog Sample Data fails if Danish is the first language to install or not the first.

Other languages fail at step 1 or another step. Should this be reported as issue for each language or all in one issue?

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar fgsw fgsw - open - 14 Nov 2023
avatar joomla-cms-bot joomla-cms-bot - change - 14 Nov 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Nov 2023
avatar tkuschel
tkuschel - comment - 14 Nov 2023

I can reproduce this issue with Danish language only. Tested with German de-DE, and British English en-GB.

I found the issue, it is caused by the Danish language file in administrator/language/da-DK/plg_sampledata_blog.ini
There is a tag title which must be unique!
Excerpt from the language file:

...
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_NEWSFEEDS_TITLE="Min blog"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_0_TITLE="Millioner"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_1_TITLE="Kærlighed"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_2_TITLE="Kærlighed"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_3_TITLE="Joomla 5"
PLG_SAMPLEDATA_BLOG_STEP1_SUCCESS="Trin 1: Tags, artikler, felter og arbejdsgang gennemført!"
...

Kærlighed exists twice and the logic building the table creates an alias with the same name!
Thank you for posting your issue; you should e.g. change the line to PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_1_TITLE="Kærlighed" to, translated from English tag, probably:

...
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_NEWSFEEDS_TITLE="Min blog"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_0_TITLE="Millioner"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_1_TITLE="I hele verden"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_2_TITLE="Kærlighed"
PLG_SAMPLEDATA_BLOG_SAMPLEDATA_TAG_3_TITLE="Joomla 5"
PLG_SAMPLEDATA_BLOG_STEP1_SUCCESS="Trin 1: Tags, artikler, felter og arbejdsgang gennemført!"
...

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42342.
avatar tkuschel
tkuschel - comment - 14 Nov 2023

please follow upstream joomla/core-translations#854


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42342.

avatar fgsw fgsw - close - 15 Nov 2023
avatar fgsw
fgsw - comment - 15 Nov 2023

Thanks @tkuschel

avatar fgsw fgsw - change - 15 Nov 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-11-15 06:04:52
Closed_By fgsw
avatar tecpromotion
tecpromotion - comment - 15 Nov 2023

@rbuelund please take a look here as proofreader for danish.

avatar rbuelund
rbuelund - comment - 15 Nov 2023

This has now been corrected on crowdin. Thanks for the notice.

Add a Comment

Login with GitHub to post a comment