In DataCube In the .ts files , localization is sometimes handled with if-else. This is not robust: It should use the localization files. See example here : 