<commit_before>package org.talend.dataprep.i18n;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.ResourceBundleMessageSource;

@Configuration
public class I18N {

    @Bean
    public ResourceBundleMessageSource getResourceBundle() {
        ResourceBundleMessageSource source = new ResourceBundleMessageSource();
        source.setBasename("messages"); //$NON-NLS-1$
        source.setUseCodeAsDefaultMessage(false);
        return source;
    }
}<commit_msg>TDP-56: "i18n server side for suggestions"<commit_after>package org.talend.dataprep.i18n;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.ResourceBundleMessageSource;

@Configuration
public class I18N {

    @Bean
    public ResourceBundleMessageSource getResourceBundle() {
        ResourceBundleMessageSource source = new ResourceBundleMessageSource();
        source.setBasename("messages"); //$NON-NLS-1$
        source.setUseCodeAsDefaultMessage(true);
        return source;
    }
}
{'fraction_non_alphanumeric': 0.09090909090909091, 'fraction_numerical': 0.012006861063464836, 'mean_word_length': 4.8059701492537314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6347741', 'n_tokens_mistral': 312, 'n_tokens_neox': 302, 'n_words': 55}