Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By froggerNL on
To simplify the question and meaby reproduce the problem I have made a simpler version of what I am doing. I have a form field with ajax. When it triggers it reloads a small piece of html. In it is t('text in one of tree languages'); If i open the page for the first time the same html is loaded and its in the correct language. But after the reload from the ajax call its in the website's default language.Any help would very much be appriciated.