I have a multilanguage site in Drupal 8. I've just installed a new language but, I need to disable it from the language switch and from the frontend until I've finished to translate all.
I seem to be unable to import a .po file I have created for my custom module.
Using D7.44 and Commerce Kickstart (commerce_kickstart-7.x-2.38)
When I go to /admin/config/regional/translate/import and select my .po file I get the following messages:
For security reasons, your upload has been renamed to commerce_stripe.de_.po.txt.
The specified file commerce_stripe.de_.po.txt could not be uploaded. Only files with the following extensions are allowed: po.
File to import not found.
Hi to all,
I have a taxonomy vocabulary setted to "localizable" in a two language website (EN-ES).
If I create a term for example "exampleterm" with the description "exampletermdesc" and i save it as english, when I translate it i wont be able to navigate it with the correct language.
So if visit the term throw the "es" website I will see the description in english as the title.
How is that possible? and how can i navigate the localized term?
I'm actually fixing this in a dirty way throw the preprocess_page hook:
I wonder why this is still such an issue on Drupal 8: I added an exposed filter to a view listing all terms of a vocabulary in a select list. These terms are sorted alphabetically by the names of the default language so when I am on the page with another language enabled the term names are translated but they are sorted in the "wrong" order for the current language.
I know how to sort arrays alphabetically and so I could use hook_form_alter to do this sorting for each exposed filter in each form "manually" but maybe there is more general way to achieve this?