1

While trying to translate my website to Dutch, I can't seem to translate the sentences

There are 3 items in your cart.

There is 1 item in your cart.

I have already edited the .csv files Mage_Checkout and Mage_Catalog and tried inline translation, but the text is still shown in English.

Can anyone help out?

closed as off-topic by Keyul Shah, Marius Mar 31 '15 at 10:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.

  • what your language of your store.. – Amit Bera Mar 31 '15 at 10:01
  • clear cache.. and check then.. – Amit Bera Mar 31 '15 at 10:04
  • The store is Dutch, already cleared my cache and checked the language settings. It's just this sentence that won't translate. Even with 'There are %s items in your cart' it won't work. – Jennie Mar 31 '15 at 10:05
  • where have you done the change?? tell the path – Amit Bera Mar 31 '15 at 10:07
  • Are you using a custom theme? If you are on Linux, try grep -nRP "There are.*items? in your cart" 2>/dev/null – 7ochem Mar 31 '15 at 10:20
0

If you have correctly edited your CSV file and have translated via Inline Translation, the last step would be to disable the Translations in your Cache Management

Click System->Cache Select Translations, under Actions select Disable Click Submit

Refresh the page with the translations.

1

Go to

app/design/frontend/<package>/<theme>/locale/languagecode_COUNTRYCODE

and put your translated strings inside this translate.csv.

For your case it should be the dutch language code and then put this

"There are %s items in your cart","WHATEVER YOU WANT TO HAVE HERE"

Be careful it is all case-sensitive so make sure you´ve the first column exactly as it appears in the US version

Not the answer you're looking for? Browse other questions tagged or ask your own question.