test_class.declarator: multilinguism
test_class.modifier: private
test_class.original_string: private Multilinguism multilinguism;
test_class.type: Multilinguism
test_class.var_name: multilinguism
test_class.file: gazeplay-commons/src/test/java/net/gazeplay/commons/utils/multilinguism/MultilinguismTest.java
test_class.identifier: MultilinguismTest
test_case.body: @Test
      void shouldGetFrenchTranslation() {
          String result = multilinguism.getTranslation("close", "fra");
          assertEquals("Fermer", result);
      }
test_case.class_method_signature: MultilinguismTest.shouldGetFrenchTranslation()
test_case.full_signature: @Test void shouldGetFrenchTranslation()
test_case.identifier: shouldGetFrenchTranslation
test_case.invocations: getTranslation assertEquals
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldGetFrenchTranslation()
focal_class.declarator: i18n
focal_class.modifier: private final
focal_class.original_string: private final I18N i18n;
focal_class.type: I18N
focal_class.var_name: i18n
focal_class.file: gazeplay-commons/src/main/java/net/gazeplay/commons/utils/multilinguism/Multilinguism.java
focal_class.identifier: Multilinguism
focal_class.class_method_signature: Multilinguism.Multilinguism(final I18N i18n)
focal_class.full_signature:   Multilinguism(final I18N i18n)
focal_class.identifier: Multilinguism
focal_class.parameters: (final I18N i18n)
focal_class.signature:  Multilinguism(final I18N i18n)
focal_class.class_method_signature: Multilinguism.getTranslation(final String key, final String language)
focal_class.full_signature: public String getTranslation(final String key, final String language)
focal_class.identifier: getTranslation
focal_class.modifiers: public
focal_class.parameters: (final String key, final String language)
focal_class.return: String
focal_class.signature: String getTranslation(final String key, final String language)
focal_class.class_method_signature: Multilinguism.getEngTranslation(final String key)
focal_class.full_signature: public String getEngTranslation(final String key)
focal_class.identifier: getEngTranslation
focal_class.modifiers: public
focal_class.parameters: (final String key)
focal_class.return: String
focal_class.signature: String getEngTranslation(final String key)
focal_method.body: public String getTranslation(final String key, final String language) {
          final String translate = i18n.translate(key, language);
          if (translate == null || translate.isBlank()) {
              log.warn("No translation found for key '{}'", key);
  
              return getEngTranslation(key);
          }
          return translate;
      }
focal_method.class_method_signature: Multilinguism.getTranslation(final String key, final String language)
focal_method.full_signature: public String getTranslation(final String key, final String language)
focal_method.identifier: getTranslation
focal_method.invocations: translate isBlank warn getEngTranslation
focal_method.modifiers: public
focal_method.parameters: (final String key, final String language)
focal_method.return: String
focal_method.signature: String getTranslation(final String key, final String language)