You need to generate this dynamically. i18n has getAvailable that gives you the available languages. In https://github.com/e-ucm/ead/blob/master/editor/core/src/main/java/es/eucm/ead/editor/view/builders/classic/MainBuilder.java?source=c#L111 you have how to process it.