We are using qTranslate-X to make site multilingual
Now English accessed over http://mystore.com/en/ and Arabic site over http://mystore.com/ar/
but in API we use http://mystore.com/
so it creates conflict to choose a language English or Arabic
qTranslate-X functionality to hide language from URL for default language...
so if sites default language is AR then Arabic version of the site can be accessed over also http://mystore.com/ instead of http://mystore.com/ar/
for that, you just need to check the checkbox of "*Hide URL language information for default language.*"