Skip to content

Cannot switch site language from Hebrew #5389

@Kachurman

Description

@Kachurman

I was able to reproduce a bug in General Settings after switching the site language to Hebrew.

Steps to reproduce:

  1. Go to General Settings.
  2. Change Language to Hebrew.
  3. Save.
  4. Go back to General Settings and try changing any setting in this page.

Observed behavior:

The page cannot be saved anymore and returns validation errors saying all homepage block position fields are required:

- news_block_position
- chat_block_position
- featured_block_position
- random_media_block_position
- poll_block_position
- top_torrents_block_position
- top_users_block_position
- latest_topics_block_position
- latest_posts_block_position
- latest_comments_block_position
- online_block_position

Likely cause:

This looks like a client-side rendering bug in the “Homepage blocks -> Block order” Alpine x-data object.
In Hebrew, the “Chat Box” label becomes:
תיבת צ'אט
The apostrophe appears to break the JavaScript string, so Alpine fails to generate the hidden *_block_position inputs, which then causes backend validation to fail.

Workaround:

I was only able to recover by manually injecting the missing hidden inputs through the browser console and forcing locale=en.

Version seen in footer:
UNIT3D v9.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions