Users Pad_Pors and Alavi1412 report that their Discourse forum displays a blank page when using the fa_IR locale, even in safe mode, due to a JavaScript error: Cannot create property 'one' on string 'پسندهای داده شده'. The issue appears tied to translation overrides, specifically affecting strings like js.user_action_groups.1 and user_notifications.digest.liked_received. Pad_Pors found that deleting the translation_override table resolves the issue, suggesting a corrupted or incompatible override. neil confirms the key user_notifications.digest.liked_received is not hardcoded and falls back to English if missing in server.fa_IR.yml. The problem seems related to recent updates affecting digest email translations. Silvanus suggests restoring from a backup or snapshot if using DigitalOcean. The issue remains unresolved for Persian users, and sam has closed the topic as stale, pending further reports.
but it’s still broken when I put the default locale to fa_IR , and it only works in en language.
the error log for Persian language:
TypeError: Cannot create property 'one' on string 'پسندهای داده شده'
at https://padpors.com/assets/application-2e84cc394e4d196502ab98d42a492ef6c5471ec6d4656594b171dc24576d76cb.js:42:3468
at Array.forEach (native)
at Object.initialize (https://padpors.com/assets/application-2e84cc394e4d196502ab98d42a492ef6c5471ec6d4656594b171dc24576d76cb.js:42:3145)
at Object.test.n.initialize (https://padpors.com/assets/application-2e84cc394e4d196502ab98d42a492ef6c5471ec6d4656594b171dc24576d76cb.js:1:20998)
at https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:28944
at e.each (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:13681)
at e.topsort (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:13176)
at e.topsort (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:12584)
at i._runInitializer (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:29123)
at i.runInstanceInitializers (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:28889)
I have the same PROBLEM with farsi (فارسی) discourse. after rebuilding my website just blank page shown. today I deleted my local because of some problems and after re-installing discourse on my local , I have changed my local discourse language to farsi and after that every thing went blank.
I think this is a bug in new version of discourse.
PLEASE HELP AND FIX THIS BUG. THIS IS VERY IMPORTANT FOR US.
It’s not hard coded. The key for the translation is user_notifications.digest.liked_received. It doesn’t have a translation in server.fa_IR.yml, so we fallback to english.