Initialise in getSupportedLanguages()

Change-Id: Ic155c54ef9fe0dac3a3c09e563828ccb0dcaf481
(cherry picked from commit 1369e4b8130fd32ad26a4a515adcb284b6cec105)