You can try to get an OR or AS game that is made for a different language and if you have two 3DS' or two 2DS' or a 3DS and 2DS, you can trade between your original and the cartridge for a different language. With how systems work now, games are no longer region locked. You can also, (I am not recommending it) use hacks to get yourself a Pokemon whose of a foreign language or make the game think the Pokemon is from a foreign language. Aside from that, those are really your only real solutions for gaining a foreign language Pokemon without having to find another person.