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.
Please add the Brazilian Portuguese translation to this module.
Comment | File | Size | Author |
---|---|---|---|
#2 | admin-6.x-1.0-beta1-pt-br.po | 3.07 KB | josesanmartin |
admin-6.x-1.0-beta1-pt-br-translations.tgz | 1.43 KB | josesanmartin |
Comments
Comment #1
yhahn CreditAttribution: yhahn commentedAwesome! 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...
Comment #2
josesanmartin CreditAttribution: josesanmartin commentedThere it goes!
Comment #3
asmdec CreditAttribution: asmdec commentedSome texts aren't outputed via t() function, like menu items 'Content', 'Structure', 'People', etc., defined in admin_menu_alter function.
Comment #4
yhahn CreditAttribution: yhahn commentedThanks. Committed: http://drupal.org/cvs?commit=244886
Comment #5
lourenzo CreditAttribution: lourenzo commentedFor 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.
Cheers,
Lourenzo Ferreira
http://lourenzo.blog.br
Comment #6
lourenzo CreditAttribution: lourenzo commentedComment #7
asmdec CreditAttribution: asmdec commentedThey weren't indexed because they weren't translated via
t()
translate function.Comment #8
afterdark CreditAttribution: afterdark commentedOnde ponho essas strings extras (where do i put that extra strings)? No arquivo PO não funcionou (didn't work in the PO file).
Comment #9
asmdec CreditAttribution: asmdec commentedYou'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.
Comment #10
lourenzo CreditAttribution: lourenzo commentedI've posted above the missing strings, translated to pt-br.
How can them get merged into the module's translation?
Thanks