J
J
JavaSscriptNoob2021-12-19 22:09:35
JavaScript
JavaSscriptNoob, 2021-12-19 22:09:35

Why does localization break in i18n?

Hello everyone, I have a rather unusual error, but suddenly someone came across.
It lies in the fact that it reacts poorly to each ":" character in the string and, as a result, 'false' comes out of the string . For example, if I have a string } then in the end I will see '''string from item.value' false test false' can anyone come across this? {t(item.value + ':test: ')

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2021-12-19
@JavaSscriptNoob

Seems like the colon is used as a name space separator, see the documentation for your version.
I honestly do not quite understand why the colon is used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question