I saw most language codes provided in the polyglot examples were two characters: 'en', 'es', 'zh', etc. However, I know they can also contain regions within each language, one example had 'zh_hant' such as here: http://polyglot.readthedocs.io/en/latest/Detection.html. I'm not sure if region detection is even an option or whether it is the default.
I can't seem to find a table specific to polyglot and what they may use, but I needed to know the max length they could be. Apparently greater than two.
Bonus:
1. Is there a way to specify if region is included in the polyglot detection?
2. Why couldn't I find the table?