Skip to content

Unexpected behavior in translations table #109

@Svyatoslav-S

Description

@Svyatoslav-S

Hello! I have an unexpected translation behavior for non-standard use of translations in my project.
Source language in my project in en-GB, and the base language of the site is also en-GB, but administrator want to change some interface texts without editing the program code. So, we've created translations from source language to en-GB and changed some strings.
2
3
On the site the texts have changed correctly, but in the translation table the data is displayed in a strange way, which is very confusing to the administrator.
1
Instead of the source text, the translation is also displayed in the sourse column! And the filter of the source column works also for the translation.
4
I understand that such use was not foreseen by your component, but it is not prohibited by software, which means that someone can do the same as we do, and he too will be at a loss, without access to the source code.
P.S. At the moment, I have solved the problem by changing the sourceLanguage in the settings of Yii2 to "en" without "-GB".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions