User login

Translation of User Interface strings in DrupaAdministration

How do I import languages to translate the base of drupal?

Go to http://drupal.org/project/translations and download them.

Untar (unzip) your language translations.

Then head on over to your Administer » Site Configuration » Localization page and click import (/en/admin/settings/locale/language/import)

You do not even have to enable the language first:

Choose the language you want to add strings into. If you choose a language which is not yet set up, then it will be added.

Near as I can tell, ignore the installer.po file and simply choose to upload the file with the language name in it.

Be very careful to change the "Import into" select field. It's way too easy to forget to do this, and it will overwrite your 100% translated Chinese and turn it into 2/3 translated Thai. Not that this happened to me or anything.

Remaining questions:

<

ol>

  • What about the .po files in all the contributed modules? Is there a way to just run them, or do they have to be uploaded individually also?
  • How do we have Drupal add translations to our installation profile?
  • i18n support request fall back to default language if content not available in language -- this one I don't think is hard to do.
  • Resolution

    Manual upload of translation files for now, but there must be a better way.

    Also see questions above especially regarding the translated strings in .po files in almost every contributed module Drupal has. Agaric doesn't want to have to upload those by hand also. (Are they supposed to be dumped in a folder together and there are tools to merge them into one?)

    You can see in the attached image file that this translates the admin pages pretty well, but those pesky user-set site strings are not translated and contributed module strings are not (yet) translated.

    Answer to number one and maybe some help with number two:

    Searching for information on .po files in Drupal contributed modules, I found the post Please clarify: Manual import of module po files needed?

    Ahh, happiness and light, it pointed me to the autolocale module: http://drupal.org/project/autolocale
    (This functionality will be core in Drupal 6.)

    Automatic translation of user interface strings sure is a beautiful thing.

    NOTE: I uncheck the box to replace all existing translations-- because I've downloaded these translations from Drupal.org, I know not all of them are in the .po files of Drupal core.

    Also, received a bunch of plural string cannot be parsed errors on the Dutch.

    Searched words: 
    global languages translating

    Comments

    The percentage of translated

    The percentage of translated content keeps dropping. Don't worry, you're not losing translation. Whatever it said originally – 98% translated, say – is still true of Drupal core. The localization crawler has now come across so much in contrib that maybe all of this user interface combined is only half translated.

    A project like WSF2008 will need people browsing the site in the languages you need to use to test what has to be translated.

    Post new comment

    The content of this field is kept private and will not be shown publicly.
    • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
    • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
    • Lines and paragraphs break automatically.

    More information about formatting options

    By submitting this form, you accept the Mollom privacy policy.