Bukkit/CraftBukkit — pull request #1192 by Steveice10 (2013-07-08 05:35:58+00:00)
Title: [B+C] Expose locale to plugin developers. Adds BUKKIT-4507

##### The Issue:
The API currently does not allow plugins to get the player's language setting, thus preventing plugins from implementing language support.

##### Justification for this PR:
Plugins will be able to detect the player's locale setting and adjust sent messages accordingly, allowing player-specific messages in their own languages.

##### PR Breakdown:
The PR is exposing the private variable, locale, in EntityPlayer and providing a getter in the Player interface.

##### Relevant PR(s):
B-#### - link - Add the getter to the Player interface.
CB-#### - link - Expose the locale variable and implement the getter in CraftPlayer.

##### JIRA Ticket:
https://bukkit.atlassian.net/browse/BUKKIT-4507