I18N Strings

The emoji picker has several UI strings that default to English. When you create the EmojiButton instance, you can pass in an i18n object to the options that contains translated strings.

The strings are specified in an object with an expected structure. Below is a code snippet with the i18n object structure and its default values.

The names of individual emojis are currently not localizable.

{
    search: 'Search emojis...',
    categories: {
      recents: 'Recent Emojis',
      smileys: 'Smileys & Emotion',
      people: 'People & Body',
      animals: 'Animals & Nature',
      food: 'Food & Drink',
      activities: 'Activities',
      travel: 'Travel & Places',
      objects: 'Objects',
      symbols: 'Symbols',
      flags: 'Flags',
      custom: 'Custom'
    },
    notFound: 'No emojis found'
}