Javascript error in Piwigo v14 in Italian translation #1803

Closed
opened 2026-10-05 00:57:06 +02:00 by adam · 0 comments
Owner

Hi guys,

I would like to report a bug in the v14 in its Italian translation (previous version worked ok).

The impacted page is admin.php?page=album-2 and the error is triggered when the button saving the album properties is clicked.
The error is
Uncaught SyntaxError: Unexpected identified 'album'
In order to fix, I changed line 1253 of file language/it_IT/admin.lang.php
from
$lang['This albums is already in related categories list'] = 'Quest\'album è già nell\'elenco degli album associati';
to
$lang['This albums is already in related categories list'] = 'Quest\\\'album è già nell\\\'elenco degli album associati';
I'm not expert enough on Piwigo to know how translations are managed, so I don't create any pull request.
Nevertheless, I hope this post can help fixing the bug.

Cheers,

Hi guys, I would like to report a bug in the v14 in its Italian translation (previous version worked ok). The impacted page is admin.php?page=album-2 and the error is triggered when the button saving the album properties is clicked. The error is `Uncaught SyntaxError: Unexpected identified 'album' ` In order to fix, I changed line 1253 of file language/it_IT/admin.lang.php from `$lang['This albums is already in related categories list'] = 'Quest\'album è già nell\'elenco degli album associati'; ` to `$lang['This albums is already in related categories list'] = 'Quest\\\'album è già nell\\\'elenco degli album associati'; ` I'm not expert enough on Piwigo to know how translations are managed, so I don't create any pull request. Nevertheless, I hope this post can help fixing the bug. Cheers, <!-- github-sync-id:2056611146 -->
adam closed this issue 2026-10-05 00:57:07 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1803