1

I am new to Joomla and looking for something related to the custom translation in Joomla.

How can I add my own language in Joomla if it is not listed by default? Is there anything available in Joomla by which I can add create those languages which are currently not available in Joomla system?

  • Have a read of this: joomlabamboo.com/blog/how-to-joomla/… – Lodder Sep 11 '15 at 13:55
  • @Lodder I have already done that but my language is not available in Joomla. – Sadaquat Sep 11 '15 at 14:12
  • Ok so you've installed a language. If you go to Extensions >> Languages, do you see it in the list? – Lodder Sep 11 '15 at 14:13
  • @Lodder Yes I can add all other languaes ,going to extentions->languages but my language is not available in Joomla, you can check yourself ,just search this 'pashto' – Sadaquat Sep 11 '15 at 14:15
  • What do you mean "not available"? Do you mean from the language switcher module? – Lodder Sep 11 '15 at 14:23
2

If I understand correctly, you want to create your own Joomla language pack for Pashto, because this language is not available as a Translation pack.

You'll find a complete guide on how to create a Joomla core language pack here. If you only need to translate the Front end, you might want to skip to the instructions for Site only pack.

If you don't want to create everything from scratch, you can also download an existing translation from a language similar to Pashto (you know better than me what language that would be, if any). Then extract all the files, and change the translations. Also make sure you edit all .php files included. The tutorial I mentioned earlier explains what the different .php files do.

Also remember to name your files correctly with the corresponding language tag. Joomla uses the ISO system to create language tags using:

  • the languagecode
  • the countrycode

I believe the correct language tag for Pastho would be ps_AF.

Good luck!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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