public static boolean canTranslate(String unlocalizedString){
  if (I18n.hasKey(unlocalizedString))   return true;
 else {
    if (UNLOCALIZED_STRINGS.size() < 100 && !UNLOCALIZED_STRINGS.contains(unlocalizedString))     UNLOCALIZED_STRINGS.add(unlocalizedString);
    return false;
  }
}

public static boolean canTranslate ( String unlocalizedString ) { if ( I18n . hasKey ( unlocalizedString ) ) return true ; else { if ( UNLOCALIZED_STRINGS . size ( ) < 100 && ! UNLOCALIZED_STRINGS . contains ( unlocalizedString ) ) UNLOCALIZED_STRINGS . add ( unlocalizedString ) ; return false ; } }
use this function if you want the string to be logged in debug mode
