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.
I set up a multilingual store and couldn't find a way to translate the completion messages on admin/store/config/checkout, neither on this page nor through User interface translation (no string found).
Am I missing something or are these values indeed not yet translatable? Thanks for your help!
Comment | File | Size | Author |
---|---|---|---|
#6 | 2852958-6.patch | 1.23 KB | TR |
|
Comments
Comment #2
TR CreditAttribution: TR commentedThose strings are stored in configuration. See https://www.drupal.org/docs/8/multilingual/translating-configuration for details about how to translate configuration strings.
Comment #3
maenjuelThanks for your response, still getting into Drupal 8 I guess :)
However I wasn't able to find those strings under Configuration Translation to translate.
I clicked through every single category and found nothing related to the Completion messages.
The "categories" I can see:
The closest thing would be Account setting I guess, but there were only those settings regarding account settings (admin/config/people/accounts) and not Ubercart completion messages.
I have every module in the "Ubercart - core" category and "Translation" category installed so the problem shouldn't be there I think.
Comment #4
maenjuelTo translate configuration items, select the translate tab when viewing the configuration, select the language for which you wish to provide translations and then enter the content.
(https://www.drupal.org/docs/8/multilingual/translating-configuration)But when I go to the ubercart checkout settings there are no tabs at all. The Tab-block is placed and shows up on other pages, but not here. I also changed to one of the built in themes to make sure it's not a theme issue. No success... And, as wrote in the previous post, I wasn't able to translate in the configuration translation page either.
Comment #5
maenjuelComment #6
TR CreditAttribution: TR commentedI think this was because of a problem with the uc_cart config schema. If you could test this patch and see if it fixes the problem I'd appreciate it.
Comment #8
TR CreditAttribution: TR commentedAnd specifically, these messages show up on the "User interface translation" page at admin/config/regional/translate. You do need more than one language installed to see this.
Comment #9
TR CreditAttribution: TR commentedI'm just going to go ahead and commit this, because it fixes a number of problems in the schema. But I would like confirmation that translation is possible for these messages now. It works for me at least.
Comment #11
TR CreditAttribution: TR commentedClosing. Feel free to reopen if this doesn't fix the issue, and feel free to post a comment here if you can confirm it works!
Comment #13
maenjuelSorry for the late reply. I just wanted to confirm that the translation works now. Thanks for your work, TR!
Comment #14
Mytko Enko CreditAttribution: Mytko Enko commentedI have faced an issue about multilingual completion messages:
I've installed English version of D8, than ubercart and later enabled second language (Polish) and made it default.
After all that I could find translation input fields for completion messages and I've added translations.
After that I vent to edit the original messages under
/admin/store/config/checkout
, what I found is that I no longer can edit original English completion messages. Under that link I see translations, not original. I've tried to access it on English and Polish versions of the website, changed default language etc - same result. English completion messages are default and only translation is editable (on translation page and under store checkout configs).Your help would be very appreciated.
Comment #15
TR CreditAttribution: TR commentedReopening for #14.