Please add the Brazilian Portuguese translation to this module.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yhahn’s picture

Status: Active » Needs work

Awesome! Would it be possible to get all of the translations into a single .po file like the Hungarian translation?

See:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/admin/trans...

josesanmartin’s picture

There it goes!

asmdec’s picture

Some texts aren't outputed via t() function, like menu items 'Content', 'Structure', 'People', etc., defined in admin_menu_alter function.

yhahn’s picture

Status: Needs work » Fixed
lourenzo’s picture

For some reason, a few strings weren't indexed by potx, so the po catalog doesn't contain them.

Appending the following strings to the catalog solved the problem.

#:
msgid "Structure"
msgstr "Estrutura"

#:
msgid "Appearance"
msgstr "Aparência"

#:
msgid "Configuration"
msgstr "Configurações"

#:
msgid "People"
msgstr "Pessoas"

#:
msgid "Add"
msgstr "Criar"

#:
msgid "Create new content on your site."
msgstr "Criar conteúdos para seu site."

Cheers,

Lourenzo Ferreira
http://lourenzo.blog.br

lourenzo’s picture

Status: Fixed » Needs review
asmdec’s picture

They weren't indexed because they weren't translated via t() translate function.

afterdark’s picture

Onde ponho essas strings extras (where do i put that extra strings)? No arquivo PO não funcionou (didn't work in the PO file).

asmdec’s picture

You'll need to hard-code the module files using the translation function t() in the strings you want to translate and then insert the strings and its tranlations in the PO file.

If you find this string:

$somevar = 'The "Structure" item menu';

and want to translate 'Structure' word, you need this modification:

$somevar = 'The "'.t('Structure').'" item menu';

And then the translation string in PO file will take effect.

lourenzo’s picture

I've posted above the missing strings, translated to pt-br.

How can them get merged into the module's translation?

Thanks