Errore Oops Si è verificato un problema imprevisto nel software che gestisce questo forum dopo l'aggiornamento

Oops
Il software che alimenta questo forum di discussione ha riscontrato un problema imprevisto. Ci scusiamo per l’inconveniente.

Le informazioni dettagliate sull’errore sono state registrate e generata una notifica automatica. Ci daremo un’occhiata.

Non è necessaria alcuna ulteriore azione. Tuttavia, se la condizione di errore persiste, è possibile fornire ulteriori dettagli, inclusi i passaggi per riprodurre l’errore, pubblicando un argomento di discussione nella categoria di feedback del sito.

Non ottengo il log con il link Sitetor.com/logs. Questa è una normale pagina di errore 404.
Accesso alla pagina della modalità sicura OK, ma nessuna azione quando si sceglie:

  • Disabilita temi e componenti del tema
  • Disabilita personalizzazioni non ufficiali dei plugin lato client
  • Disabilita tutte le personalizzazioni dei plugin lato client

Ho messo ## prima di ogni riga che ottiene il plugin nel file app.yml. Solo per tornare indietro al plugin Docker manager.

E ho eseguito il comando launcher Rebuild app.
Ma senza effetto.
Ho riavviato il mio server Vultr dopo 1 ora, ma ho ancora lo stesso messaggio OPS.

:frowning:

Hmm. :thinking: Questo è un problema difficile. Non ci sono molti elementi su cui basarsi riguardo all’errore nella console del browser.

Mi chiedo se non riesci a vedere /logs perché non hai effettuato l’accesso. Potrebbe essere possibile utilizzare la pagina di accesso dell’amministratore per aggirare qualunque cosa stia succedendo e ottenere l’accesso ai log, se potessi provare (/u/admin-login).

2 Mi Piace

Inserisco la mia email admin e ricevo il link della sessione di accesso via email, ma quando seguo quel link mi ritrovo di nuovo con questo messaggio:

Ops

È stata una mossa un po’ azzardata.

È insolito che commentare i plugin non aiuti. Quando hai ricostruito in seguito, la ricostruzione ha avuto successo?

1 Mi Piace

Grazie, successo.
Ieri ho ricostruito l’app OK, il mio forum OK. Successivamente ho ricevuto una notifica di aggiornamento nella pagina Admin, ho aggiornato tramite il sito web. Successivamente ho ricevuto il messaggio “Ops… …”
Quindi ho ricostruito di nuovo tramite la riga di comando. E ora c’è un errore.

Ecco i miei log nella pagina Log

CSP Violation: 'https://sitetor.com/assets/plugins/footnote-79e2a367b53b791240c3504826b87b2787c9d197d77cd422969d592aae9cf23b.js'
5 Giu 8:27
CSP Violation: 'https://sitetor.com/assets/plugins/discourse-lazy-videos-bdf1486acc96b228a2163490640a2bdc90f5e0a1bb1949335fd1fde2ad48795c.js'
5 Giu 8:27
CSP Violation: 'https://sitetor.com/theme-javascripts/a3636f1729d8c81989eb6665a5a33c82564fcec4.js?__ws=sitetor.com'
5 Giu 8:27
CSP Violation: 'https://sitetor.com/theme-javascripts/ca4f2222209109b7d767260935bb303d2b284516.js?__ws=sitetor.com'
5 Giu 8:27
Avviso di deprecazione: `SiteSetting.min_trust_level_to_allow_ignore` è stato deprecato. Si prega di utilizzare `SiteSetting.ignore_allowed_groups` invece. (rimozione in Discourse 3.3) In /var/www/discourse/lib/gua
8 Giu 19:55
15
CSP Violation: 'https://www.google-analytics.com'
10 Giu 21:32
2
CSP Violation: 'https://sitetor.com/svg-sprite/sitetor.com/svg-93-10018d578f2d963b00e0465dc2060daae0e3a6cc.js'
16 Giu 15:24
CSP Violation: 'https://sitetor.com/javascripts/magnific-popup/1.1.0/jquery.magnific-popup.min.js'
16 Giu 15:24
6
CSP Violation: 'wasm-eval'
22 Giu 10:05
ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERRORE: violazione della chiave univoca viola il vincolo di univocità \"index_topic_tags_on_topic_id_and_tag_id\" DETTAGLIO: La chiave (topic_id, tag_id)=(65105, 601) esiste già
30 Giu 11:47
Impossibile gestire l'eccezione nell'applicazione middleware di eccezione: ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERRORE: violazione della chiave univoca viola il vincolo di univocità \"index_topic_tags_on_topic_id_and_t
30 Giu 11:47
10
NoMethodError (metodo non definito `scan' per {:one=>\"Categories (%{count} more)…\", :other=>\"Categories (%{count} more)…\"}:Hash) lib/i18n/i18n_interpolation_keys_finder.rb:6:in `find' app/controllers/adm
30 Giu 21:19
24
CSP Violation: 'eval' () => { utils.preloadCache() }
1 Lug 23:34
21
NoMethodError (metodo non definito `slug_path' per nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app
4 Lug 9:59
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) non trovato: Nessun file o directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
4 Lug 15:23
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) non trovato: Nessun file o directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
4 Lug 15:23
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) non trovato: Nessun file o directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
5 Lug 16:17
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) non trovato: Nessun file o directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
5 Lug 16:17
Avviso di deprecazione: `AdminDashboardData#add_problem_check` è deprecato. Implementare una classe che eredita da `ProblemCheck` invece. (rimozione in Discourse 3.3) In /var/www/discourse/plugins/discourse-si
6 Lug 1:00
20
CSP Violation: 'https://sitetor.com/assets/start-discourse-c524a8995f2f0cbcea43353efe8e8f269da821ea97c21ef0f04df5fcd916170a.js'
Dom 16:33
20
CSP Violation: 'https://sitetor.com/assets/browser-update-9070f07226d022f68c06506e046ae33f8fe725302ff53955cd3d483f2fc47ff6.js'
Dom 16:33
CSP Violation: 'https://sitetor.com/svg-sprite/sitetor.com/svg-87-ca7d0fff2c92f16b8b655f85bb0a36f4c6eb98df.js'
Dom 16:33
CSP Violation: 'https://sitetor.com/uploads/default/original/2X/d/d8ce366bd7aad8f9fc7b26b08aecc855dd6d425c.js'
Dom 16:33
3
CSP Violation: 'https://pagead2.googlesyndication.com'
Dom 16:33
23
ActionView::Template::Error (metodo non definito `slug_path' per nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defe
Lun 18:50
69
RequestTracker.get_data fallito: Encoding::UndefinedConversionError: "\\xA3" da ASCII-8BIT a UTF-8
Mar 2:15
181
RequestTracker.get_data fallito: Encoding::UndefinedConversionError: "\\xA1" da ASCII-8BIT a UTF-8
Mar 15:52
8
Avviso di deprecazione: il metodo `UsersController#modify_user_params` è deprecato. Si prega di utilizzare il modificatore `users_controller_update_user_params` invece. (deprecato da Discourse 3.1.0.beta4) (rimozione
Mar 23:18
Avviso di deprecazione: `AdminDashboardData#add_problem_check` è deprecato. Implementare una classe che eredita da `ProblemCheck` invece. (rimozione in Discourse 3.3) In /var/www/discourse/plugins/discourse-si
Mer 14:46
Corrupt cache... skipping entry for key _CACHE:sitemap/1/50000 : ArgumentError: dump format error (user class)
Mer 18:39
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) non trovato: Nessun file o directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
Mer 22:51
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) non trovato: Nessun file o directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
Mer 22:51
Avviso di deprecazione: `AdminDashboardData#add_problem_check` è deprecato. Implementare una classe che eredita da `ProblemCheck` invece. (rimozione in Discourse 3.3) In /var/www/discourse/plugins/discourse-si
5:40
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
5:57
Impossibile gestire l'eccezione nell'applicazione middleware di eccezione: ActionView::Template::Error: {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
5:57
Avviso di deprecazione: `AdminDashboardData#add_problem_check` è deprecato. Implementare una classe che eredita da `ProblemCheck` invece. (rimozione in Discourse 3.3) In /var/www/discourse/plugins/discourse-si
8:49
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
9:03
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
9:18
Avviso di deprecazione: `AdminDashboardData#add_problem_check` è deprecato. Implementare una classe che eredita da `ProblemCheck` invece. (rimozione in Discourse 3.3) In /var/www/discourse/plugins/discourse-si
10:11
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
10:48
3
NoMethodError (metodo non definito `slug_path' per nil) app/models/category.rb:1229:in `slug_path' app/models/category.rb:1069:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app/models/
12:26
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
13:21
10
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
13:46
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
13:48
59
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:52
47
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:10
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:23
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:24
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:25
17
Impossibile gestire l'eccezione nell'applicazione middleware di eccezione: ActionView::Template::Error: {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
14:25

Quell’errore “record non univoco” suggerisce che hai un indice corrotto. Dovrai trovare gli argomenti che spiegano come risolvere il problema (principalmente eliminare i tag duplicati).

Hai per caso dei tag sia in maiuscolo che in minuscolo? (come mytag e myTag)

1 Mi Piace

Non ricordo,
Esiste un comando SSH per elencare i tag creati?
Tuttavia, anche se non riesco ad accedere alla homepage in una nuova scheda, fortunatamente il mio browser conserva ancora la vecchia scheda prima dell’aggiornamento e posso ancora caricare molti nuovi argomenti sulla homepage.

Puoi navigare alla pagina dei tag?

Ma dovrai risolvere il tuo problema con il database manualmente. Sarà più facile eliminare semplicemente le voci duplicate.

Penso che ci siano un paio di argomenti su come fare ciò in altri casi.

Penso che tu provi a ricostruire l’indice, trovi la cosa che causa il suo fallimento e poi la elimini e fai così finché non funziona.

Ho provato ad accedere alla pagina dei tag ma non ha funzionato. Si è verificato questo errore quando ho aggiornato. Perché il forum funziona ancora normalmente senza aggiornare? Come risolvere il tuo problema con il database manualmente? Sono un utente normale, non uno sviluppatore :frowning:

Non lo so. Forse qualcosa è cambiato e ora i tag non fanno distinzione tra maiuscole e minuscole? O forse è un bug.

Ma questo sembra avere a che fare con il fatto che i tag non sono in qualche modo univoci:

Non è un compito per un utente normale.

1 Mi Piace

And How about this error ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in output_MF’ app/controllers/`

Before, I use Remove Dashes from Tag Names. Are they the cause of duplicate Tags?

I access success to tag page:

There is all tags in tags page, And I didn’t find any pairs of duplicate tags

View tag page detail

Tag

Xếp theo: đếm tên


Đắc địa

Góc 2 mặt tiền x 70

Góc 3 mặt tiền x 2

Góc 4 mặt tiền x 1

Domains

Add Villa x 4

Mặt Bằng Kinh Doanh

Raise Building x 2

Dự án

Vinhomes Central Park x 1

Hướng

Bắc x 1

Đông x 1

Đông Bắc x 1

Đông Nam x 1

Nam x 1

Tây x 1

Tây Bắc x 1

Kinh doanh

24h x 3

Anh ngữ

Cafe x 7

Cây xăng x 1

Chuỗi x 58

Cửa hàng thực phẩm x 1

Điện thoại x 2

Game x 1

Giải trí x 6

Giao hàng x 1

Giặt ủi x 1

Giày dép x 3

Gym x 1

Hầm rựu x 1

Karaoke x 8

Mắt kính x 1

Nhà hàng x 10

Nha khoa x 2

Nhà sách x 2

Nhà thuốc x 3

Nội thất x 5

Phòng công chứng

Phòng khám x 2

Phòng thu x 1

Pizza x 2

Quán ăn x 2

Quán nhậu x 3

Salon x 1

Sang x 1

Showroom x 10

Siêu thị x 8

Spa x 3

Thời trang x 11

Thức ăn nhanh x 2

Tiệm net x 1

Trà sữa x 1

Trái cây x 1

Trang sức x 1

Trường học x 2

Văn phòng x 18

Xe hơi x 1

Xe máy x 2

Xì gà x 1

Loại BĐS

Biệt thự Villa x 20

Căn hộ chung cư x 27

Căn hộ dịch vụ x 1

Chung cư x 23

Đất x 11

Duplex

Kho xưởng x 1

Kiot vỉa hè

Mall

Mặt bằng Nhà phố x 361

Penhouse

Phòng trọ

Sân thượng x 1

ShophouseViet x 3

Tòa nhà x 3

Văn phòng x 18

Loại giao dịch

Bán x 47

Cần mua x 32

Cần thuê x 413

Cho thuê x 12942

Mặt tiền (m)

Ngang 10m x 632

Ngang 11m x 539

Ngang 12m x 553

Ngang 13m x 396

Ngang 14m x 403

Ngang 15m x 504

Ngang 16m x 332

Ngang 17m x 158

Ngang 18m x 262

Ngang 19m x 38

Ngang 20m x 445

Ngang 3m x 988

Ngang 4m x 1562

Ngang 5m x 907

Ngang 6m x 977

Ngang 7m x 978

Ngang 8m x 959

Ngang 9m x 976

Mục đích sử dụng

Đầu tư x 1

Để ở x 5

Kinh doanh x 392

tickets_priority

tickets_reason

tickets_status

TPHCM

Bình Chánh

Bình Tân x 1

Bình Thạnh x 2

Cần Giờ x 1

Củ Chi x 1

Gò Vấp x 1

Hóc Môn x 1

Nhà Bè x 1

Quận 1 x 2

Quận 10 x 1

Quận 11 x 1

Quận 12 x 2

Quận 2 x 1

Quận 3 x 1

Quận 4 x 1

Quận 5 x 1

Quận 6 x 1

Quận 7 x 1

Quận 8 x 1

Quận 9 x 1

Quận Phú Nhuận x 1

Tân Bình

Tân Phú x 1

Thủ Đức x 1

Trạng thái giao dịch

Chưa xác định x 1

Đã giao dịch x 2

Đang giao dịch x 1

Ngưng giao dịch x 1

Vị trí

Hẻm ngõ x 8

Mặt tiền x 12914

Nội bộ x 1

Các thẻ khác

3PN x 2

4 lầu x 1

Bán đất x 2

Bán nhà x 1

Bình Trị Đông A x 1

Cơ hội x 2

Có Video x 6

cv x 1

Đã cập nhật sổ hồng x 2

Đã đặt cọc x 1

Đà Nẵng x 1

Đất trống x 1

DT 10x24m x 1

DT 17x31m x 1

DT 4x16m x 1

DT 4X17M x 1

DT 4x18 x 1

DT 4x20 x 1

DT 5x15m x 1

DT 5x19m x 1

DT 6x28 x 1

DT 7x21m x 1

DT 8x15m x 1

DT 8x20m x 1

DT 8x22m x 1

DT 8x26m x 1

DT 9x41m x 1

DT đất 105m2 x 1

DT: 10x7m x 1

DT: 6x17m x 1

DTS 120m2

DTS 2880m2 x 1

DTSD 805m2 x 1

dự án x 1

Flycam x 1

Giá 100 tỷ x 1

Giá 108 tỷ x 1

Giá 110 tỷ x 1

Giá 130 tỷ x 1

Giá 150 tỷ x 3

Giá 180 tỷ x 1

Giá 200 tỷ x 1

Giá 218 tỷ x 1

Giá 220 tỷ x 1

Giá 26 tỷ x 1

Giá 27 tỷ x 1

Giá 28 tỷ x 3

Giá 31 tỷ x 1

Giá 34 tỷ x 1

Giá 35 tỷ x 1

Giá 36 tỷ x 1

Giá 43 tỷ x 1

Giá 48 tỷ x 1

Giá 53 tỷ x 1

Giá 55 tỷ x 1

Giá 60 tỷ x 2

Giá 63 tỷ x 1

Giá 7 tỷ x 1

Giá 70 tỷ x 1

Giá 74 tỷ x 1

Giá 76 tỷ x 1

Giá 79 tỷ x 1

Giá 80 triệu x 1

Giá 80 tỷ x 1

Giá 85 tỷ x 1

Giá đất 350 triệu m2 x 1

Giá thuê 50 triệu x 1

Giá thuê 50 triệu tháng x 1

Giá: 27 tỷ x 1

Giá: 29 tỷ x 1

Giá: 32 tỷ x 1

Giá: 39 tỷ x 1

Kết cấu 7 lầu x 1

Kết cấu trệt 7 lầu x 1

khách nhà bán x 1

Không thuê x 2

Khu cây xanh x 1

Loại BĐS x 2

Mặt bằng x 1

Mặt Bằng Đẹp x 69

Mặt tiền 17

Mặt tiền 4m x 1

Ngang 26m x 1

Ngang 29m x 1

Ngưng bán x 2

Ngưng cho thuê x 1

Nhà x 5

Nhà Bến Nghé x 1

Nhà phố x 5

Nhà VT x 1

Phân khúc 100 200 tỷ x 3

Phần khúc 100 200 tỷ x 1

Phân khúc 20 50 tỷ x 1

Phân khúc 200 300 tỷ x 1

Phân khúc 50 100 tỷ x 3

Phân khúc dưới 10 tỷ x 1

Phường 13 Phú Nhuận x 1

Phường 9 Quận 3

Phường Bến Nghé x 5

Phường Bến Thành x 174

Phường Cầu Kho x 1

Phường Cầu Ông Lãnh x 1

Phường Đa Kao x 2

Phường Nguyễn Thái Bình x 2

Phường Thảo Điền x 3

Phường Võ Thị Sáu x 2

Quy hoạch Nhà ở Đô Thị x 1

Sang nhượng x 2

Tân Định x 1

TDT 62m2

Thiết kế Decor x 14

Thuê bao x 1

Tòa nhà văn phòng x 2

TPHCM x 417

Trệt 2 lầu x 1

Việc làm x 13

Villa x 1

vnBuildings x 4

Võ Văn Kiệt x 1

VP x 1

Xuống giá x 1

I see 2 tag same “Phân” & “Phần”
Phân khúc 100 200 tỷ x 3
Phần khúc 100 200 tỷ x 1

i deleted this tag:
Phần khúc 100 200 tỷ x 1
But unstill not access Homepage :frowning:

2 Mi Piace

Poiché questo è un Theme component puoi disabilitarlo nella scheda componenti. Non sono sicuro che possa causare il problema poiché, per quanto ne so, si tratta di modifiche lato client. Questo componente in particolare altera solo l’aspetto dei tag. Non fa male però testarlo per escluderlo.

Dove il tuo database è lato server.

1 Mi Piace

Sì! @Heliosurge Accedo alla pagina delle impostazioni e disattivo tutti i componenti del tema e seleziono il tema predefinito, accedo alla home page ma non ha effetto.

1 Mi Piace

Se l’esecuzione in modalità provvisoria non funziona. Potrebbe essere necessario considerare la pubblicazione in Marketplace se non si ha familiarità/comfort con la ricostruzione manuale.

So da quello che ha detto @pfaffman che avrei bisogno di cercare aiuto in questa situazione.

Ciao, quali Operazioni massive amministrative posso eliminare (topic_id, tag_id)=(65105, 601)?

Grazie

1 Mi Piace

Ho creato l’argomento Need to resolve my database problem by hand error with tags not being unique after upgrade forum e ho ricevuto supporto da @ itsbhanusharma ma ancora non riesco a trovare la causa.

Ho ripristinato il server Vultr che avevo sottoposto a backup nell’aprile 2024. Quindi ho ripristinato i dati di backup nel file Dashboard .tar.gz. Ma ho ancora lo stesso errore di cui sopra. Sembra che questo backup (file .tar.gz) abbia lo stesso errore, sebbene sia stato ripristinato, il sito Web non è accessibile.

Ho riutilizzato la versione del server Vultr 044/2024 e ho sviluppato i contenuti fino ad ora.

Oggi, ho acceduto a admin/customize/site_texts/js.topic.read_more_MF?locale=en_GB

Per tradurre i contenuti

topic remaining
or browse other topics in
view latest topics

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
         =0 {}
        one {There is # unread}
      other {There are # unread}
    }
    { NEW, plural,
         =0 {}
        one { and # new topic remaining,}
      other { and # new topics remaining,}
    }
  }
  false {
    { UNREAD, plural,
         =0 {}
        one {There is # unread topic remaining,}
      other {There are # unread topics remaining,}
    }
    { NEW, plural,
         =0 {}
        one {There is # new topic remaining,}
      other {There are # new topics remaining,}
    }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { or browse other topics in {categoryLink}}
  false { or view latest topics}
  other {}
}

Con l’inglese ha successo, ma con il vietnamita ricevo un messaggio di errore durante il salvataggio dalle impostazioni che:
Error: The plural case one is not valid in this locale at line 4 col 15:

e trovo questo errore coincidente con la pagina Log:

C’è qualche correlazione?

Hai letto l’argomento su come vengono tradotte queste stringhe?

Perché personalizzi il testo sul tuo forum? C’è un errore nella traduzione o preferisci semplicemente una formulazione diversa?

2 Mi Piace

Grazie mille per il tuo tutorial, l’ho letto e l’ho modificato come segue e viene visualizzato correttamente:

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
        =0 {}
        other {Có <a># tin còn lại</a>}
      }
    { NEW, plural,
        =0 {}
        other { và <a># new</a> chưa đọc,}
      }
  }
  false {
    { UNREAD, plural,
        =0 {}
        other {Có <a># tin còn lại</a> chưa đọc,}
      }
    { NEW, plural,
        =0 {}
        other {Có <a># tin mới</a> chưa đọc,}
      }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { hoặc xem tin tức khác trong {categoryLink}}
  false { hoặc <a>xem tin mới nhất</a>}
  other {}
}
1 Mi Piace