What happened?
Description
I am not sure if this is my own fault because the way I use Craft, but let me explain.
I have Craft CP set to English, because its easier to use the app original language for communication and docs.
My primary site uses Czech language and I translate it to English via both content and static translations.
This means I have translations/en/site.php file with some defined static translations which I mainly use to translate Table Row Headings like I described here #13703.
Now I discovered that when I translate such string in site.php it also applies to Field Name shown in CP.
I thought strings shown inside CP are managed by app.php.
But its just minor issue. Thanks.
Steps to reproduce
- Have your Craft CP language set to English.
- Inside
translations/en/site.php add 'Original Title' => 'Translated Title', as example.
- Create Field named
Original Title
- Check list of Fields and see its translated into
Translated Title. This can be seen in multiple places inside CP where the Field Name is printed.
Expected behavior
I would expect the Field Name to stay in its original language inside CP since I dont define app.php which is supposed to target CP strings.
Actual behavior
Field Name gets translated in CP.
Craft CMS version
Craft Solo 5.9.22
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
I am not sure if this is my own fault because the way I use Craft, but let me explain.
I have Craft CP set to English, because its easier to use the app original language for communication and docs.
My primary site uses Czech language and I translate it to English via both content and static translations.
This means I have
translations/en/site.phpfile with some defined static translations which I mainly use to translate Table Row Headings like I described here #13703.Now I discovered that when I translate such string in
site.phpit also applies to Field Name shown in CP.I thought strings shown inside CP are managed by
app.php.But its just minor issue. Thanks.
Steps to reproduce
translations/en/site.phpadd'Original Title' => 'Translated Title',as example.Original TitleTranslated Title. This can be seen in multiple places inside CP where the Field Name is printed.Expected behavior
I would expect the Field Name to stay in its original language inside CP since I dont define
app.phpwhich is supposed to target CP strings.Actual behavior
Field Name gets translated in CP.
Craft CMS version
Craft Solo 5.9.22
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions