0

I want to translate store to Serbian language and in official Serbian translation there are 2 types Alphabet and Cirilic letters:

  • sr_SP.csv
  • sr_CS.csv

But there is only one Serbian in localisation options on admin panel.

P.S. To further investigate this can I add made up language and make it appear in localisation options as an option?

1 Answer 1

0

So as no one answered I researched more and found that language codes are defined in:

magento2/lib/internal/Magento/Framework/Locale/Config.php

So if you also have trouble translating, check this file to find out your country code. To answer my other question yes we can add made up language like explained in this answer. But its kinda tempering with core, not a good practice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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