I have a Drupal 8 site with 2 languages : english (by default) and french.
I have a taxonomy vocabulary called 'job_list' with categories of jobs
I want retreive the translated value of field 'name'. But when I use the code below in my theme functions 'theme_preprocess_views_view_unformatted', it only return the value in default language (ex : Programmer and not Programmeur).
I just created a new drupal website.
I added the translation module, added the language switcher block in my sidebar module and added my content translation in my 3 added languages (English, French and Spanish).
Everything looks perfect BUT in my list view I see 3 times the same node content for a selected language.
I try to change my translation view parameters but I keep 3 times the same content (translated or not in the same language).
I started to set a site main config with French as default language and English as a supplementary language. Then I wanted to reverse the language priority with English as default and French as supplementary. But in D8, it seems there's no way to change a site config language source and in my case, it remains hard coded to French. I even tried to completely remove the French language, but the config language source keeps showing French even if the language doesn't exist anymore, cf screenshot.