4 replies [Last post]
hosais's picture
Offline
Joined: 01/02/2010
Juice: 66

Hello all,

Is that right there is no Spanish translation for Ubercart 2.x?

I am interested to make Ubercart spainish if there is no translation files(*.po).

Anyone could tell me how to do it?

First of all, should I generate Gettext translation templates by translation template extractor myself?

Or...

I really appreciate any help about this.

thanks.

Joseph Lee

hosais's picture
Offline
Joined: 01/02/2010
Juice: 66
I am on the right track? [translation template extractor]

Hi all,

It seems that everybody is still in Holidays (New Year).

I found that there is no /tranlation in Ubercart 2.x. I asummed that there is no spanish translation of Ubertcart. According to http://drupal.org/translators and http://drupal.org/node/314231, I installed translation template extractor and generate ubertcart.es.po.

In the file (ubertcart.es.po), it has many pairs of

msgid "[english]"
msgstr "[spanish]".

...

For example:

msgid "Title"
msgstr "Título"

But some does not have, like
msgid "That predicate does not exist."
msgstr ""

==========================

Is that right I just translate these empaty strings and put spanish there?

Or I should put spainish translation into http://localize.drupal.org.

I would really appreciate if somebody can tell me that I am on the right track and what is the correct next step.

Thanks.

Joseph Lee

hosais's picture
Offline
Joined: 01/02/2010
Juice: 66
Manually I can add the tranlsation. but automatically NO?

Hi,

I tested the *.po successfully. I can change words in Ubertcart to spainish myself on my website.

The problem is that I only can do it manually through translate interface [import one *.po].

I created the tranlsations directory under Ubercart module and put the es.po/or ubercart.es.po file. The system did not automatically add it into database after I delete spanish and then added spanish again.

Does anybody know why?

Joseph Lee

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6841
Re: Manually I can add the tranlsation. but automatically NO?

The official translation work for Ubercart, and for most Drupal modules if I'm not mistaken, is happening on localize.drupal.org. You can see the translation status for Ubercart at http://localize.drupal.org/translate/projects/ubercart. I know there's supposed to be some way to get the translations from that site, but I'm having a hard time finding it. You might have to "join the Spanish team" to get access to those files, but that doesn't feel right. Of course, the site is still in beta, so it may just be a bug that will be fixed soon.

hosais's picture
Offline
Joined: 01/02/2010
Juice: 66
Yes, there spainish translation

Hi,

Yes there are spainish translation. However, it is not finished yet. I got messages on drupal.org.es and fianlly I solved the problem.

Refer to: http://drupal.org.es/node/8208.

Joseph Lee