πŸ‡ΊπŸ‡ΈUnited States @dkmartin

Account created on 3 January 2014, about 11 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States dkmartin

A bit old but I was able to solve this problem using the t function:

foreach ($languages as $id => $language) {
        $links[] = [
            'text' => t($language->getName(), [], ['langcode' => $langcode]),
        ];
      }
Production build 0.71.5 2024