app/helpers/hyrax/hyrax_helper_behavior.rb
# Which translations are available for the user to select
# @return [Hash<String,String>] locale abbreviations as keys and flags as values
Which translations are available for the user to select
Which translations are available for the user to select
def available_translations
      {
        'de' => 'Deutsch',
        'en' => 'English',
        'es' => 'Español',
        'fr' => 'Français',
        'it' => 'Italiano',
        'pt-BR' => 'Português do Brasil',
        'zh' => '中文'
      }
    end
def available_translations { 'de' => 'Deutsch' , 'en' => 'English' , 'es' => 'Español', 'fr' => 'Français', 'it' => 'Italiano' , 'pt-BR' => 'Português do Brasil', 'zh' => '中文' } end
Which translations are available for the user to select
Which translations are available for the user to select
locale abbreviations as keys and flags as values
locale abbreviations as keys and flags as values
Hash<String,String>