5 replies [Last post]
giorgio79@drupal.org's picture
Offline
Joined: 02/02/2008
Juice: 280
Was this information Helpful?

Hi,

On the translation server I can clearly see the string translated, "City" in our case (into Hungarian for example as per screenshot), yet on the Address pane on the Checkout screen the English version shows (screenshot attached as well). Any ideas why this is?

PreviewAttachmentSize
server.jpgserver.jpg54.88 KB
translation.jpgtranslation.jpg75.7 KB
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Translation and localization issue: english string shows ins

Unfortunately the address labels are being populated with values from a form - the address fields form in the checkout settings I believe. As long as you haven't saved that form before or can reset the form to its defaults, you shouldn't have a problem. Drupal would translate the value. But if you've modified and saved that form at all, it will display the translations you have entered in those fields.

giorgio79@drupal.org's picture
Offline
Joined: 02/02/2008
Juice: 280
Hi Ryan, Thanks for coming

Hi Ryan,

Thanks for coming back. In fact I have not touched the form and I was poking around further, and finally found a solution.

Initially, I was exporting for "Ubercart 1.5" po files for "Drupal 5" on the translation server, but this resulted in the issue I posted.

This morning I tried exporting one single large po file for "All versions of Ubercart" releases and imporintg this on my server. Lo and behold it worked, now most of the strings are translated.

I guess this is one of those things of the translation module Smiling

asak@drupal.org's picture
Offline
Joined: 10/23/2008
Juice: 67
How?

How can these values be reset?

strompf's picture
Offline
Joined: 12/27/2008
Juice: 38
Re: Re: Translation and localization issue: english string shows

Thanks for the explanation. I had a similar problem that address labels stayed untranslated at the checkout page for customers that were already logged in.

I could verify that indeed, those labels are the same as at Administer > Store administration > Checkout settings > Address fields.

I tried the following:

  • At Administer > Store administration > Checkout settings > Address fields, I clicked Reset to defaults while logged in as Admin in English
  • I uploaded one more time the .po-file for all versions of Ubercart from Rak's server
  • Refreshed the other browser where I was logged in as a registered customer at the checkout in my local language
  • Unfortunately, labels changed back to English

Probably I am missing something. Any help would be appreciated.

Regards,
Jeroen

mattv's picture
Offline
Joined: 06/22/2009
Juice: 16
custom address fields or translated address fields, but not both

It's not clear to me how you are supposed to both customize the address fields, but also translate them. It's as if you can have one but not the other. Am I right?