cancel
Showing results for 
Search instead for 
Did you mean: 

Language string collect overwrites translated strings

Language string collect overwrites translated strings

How do you deal with translations? Like I collected all translations and I see duplicates. But if I add new module then I collect again all translations gone.
I’ve tried this also: https://github.com/underser/module-translation-helper but it doesnt work if I try i18nSmiley Tongueack
Error:

[RuntimeException]                                                                               
  Missed context in row #1.                                                                        
  Each row has to consist of 4 columns: original phrase, translation, context type, context value
2 REPLIES 2

Re: Language string collect overwrites translated strings

Hello @kristenvdi17fa 

 

You can install https://github.com/mageplaza/magento-2-bulgarian-language-pack  If you have install using composer, location of csv will be here magento_root/vendor/mageplaza/magento-2-bulgarian-language-pack/bg_BG.csv

Edit bg_BG.csv add new row

"English Text" "Translated text" "module" "Magento_Customer"

"This is a required field" "Translated text" "lib" "web"

Deploy static file using this command

php bin/magento setup:static-content:deploy bg_BG -f

 

Problem solved? Click Accept as Solution!

Re: Language string collect overwrites translated strings


@Bhanu Periwal wrote:

Hello @kristenvdi17fa 

 

You can install https://github.com/mageplaza/magento-2-bulgarian-language-pack/LAFitnessEmployeePortal

If you have install using composer, location of csv will be here magento_root/vendor/mageplaza/magento-2-bulgarian-language-pack/bg_BG.csv

Edit bg_BG.csv add new row

"English Text" "Translated text" "module" "Magento_Customer"

"This is a required field" "Translated text" "lib" "web"

Deploy static file using this command

php bin/magento setup:static-content:deploy bg_BG -f

 


I appreciate the information and advice you have shared. I will try to figure it out for more.