Needs review
Project:
Admin
Version:
6.x-1.0-beta1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2009 at 22:13 UTC
Updated:
1 Oct 2009 at 15:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
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 commentedThere it goes!
Comment #3
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 commentedThanks. Committed: http://drupal.org/cvs?commit=244886
Comment #5
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 commentedComment #7
asmdec commentedThey weren't indexed because they weren't translated via
t()translate function.Comment #8
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 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 commentedI've posted above the missing strings, translated to pt-br.
How can them get merged into the module's translation?
Thanks