Locked door alert localization #15

Closed
opened 2022-01-11 10:15:41 +01:00 by Tallon159 · 2 comments
Tallon159 commented 2022-01-11 10:15:41 +01:00 (Migrated from github.com)

Hello, Can you update the locked door alert to be localized?

Thank you for your great module.

Hello, Can you update the locked door alert to be localized? Thank you for your great module.
manuelVo commented 2022-01-11 10:45:30 +01:00 (Migrated from github.com)

This is a surprisingly difficult request to fulfil. The alerts are regular chat messages and simply slapping a translation on the text like it's usually done for UI elements would lead to the interesting effect that the language used for the alerts would always be the one selected by the user that tried to open the door and that language would be displayed for anyone for that individual message. There might be a way to resolve this issue, but it requires further investigation.

This is a surprisingly difficult request to fulfil. The alerts are regular chat messages and simply slapping a translation on the text like it's usually done for UI elements would lead to the interesting effect that the language used for the alerts would always be the one selected by the user that tried to open the door and that language would be displayed for anyone for that individual message. There might be a way to resolve this issue, but it requires further investigation.
Tallon159 commented 2022-01-11 12:23:16 +01:00 (Migrated from github.com)

I Think for most of games, the players don't change the interface language set by the dm. You could just add a config to localize chatMessage only for the dm that want it.

I Think for most of games, the players don't change the interface language set by the dm. You could just add a config to localize chatMessage only for the dm that want it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: manuel/foundryvtt-smart-doors#15