Baystation12/Baystation12 — pull request #3208 by zekesulastin (2013-06-29 21:40:03+00:00)
Title: Allow for selection of one secondary language based on alienwhitelist.txt

Based on what was described as essentially a bug: http://baystation12.net/forums/viewtopic.php?f=48&p=160931#p160931

This block of code more-or-less duplicates the current species selection, but instead allows for and sets a secondary language. As with species selection, it is based on the key of the player. Entries in alienwhitelist.txt for languages are of the form "key - Language_Species", with Soghun for Unathi for consistency's sake. This preference is also saved.

Tested and working on my server at least is the admin all-species thing, selection and setting of languages, and the non-whitelisted error message.

Problems include not checking character name if such a thing is required and the ability to only select one language, but those can be fixed later if they become an issue.