ECMS-5911 [PLF40-Migration] Failed to Add Translation after the migration from Platform 3.5

Fix description
* Change the way to get locale