Wednesday, 10 July 2024

Java I18N

public static void useI18n() {
        Locale locale = Locale.of("de");
        ResourceBundle messages = ResourceBundle.getBundle("MessagesBundle", locale);
        System.out.println(MessageFormat.format(messages.getString("greeting"), "Tom"));
        System.out.println(messages.getString("farewell"));
    }

No comments:

Post a Comment

Iterative Mona Lisa E2E development

Iterative as at the beginning I know least Mona Lisa, as I always want to be able to stop E2E, go wide before going deep Notes: Agents are i...