Different language on the basis of URL?
Check a sample code provided in How to change Drupal's default language programmatically? You can trigger this code yourself based on your requirement.

Another way of doing this can be is 'Use another language than "default" as standard'. And You can find an example of hook_language_negotiation_info() on Drupal 7 default language after translation.