There is only 1 languange, put break after the languange is found, or if you are using Dictionary, these lines can be replaced with 
```java
temp.setParent(AltLangDict[languange].getCategory());
temp.setStatus(AltLangDict[languange].getLanguage());