This forum is for questions about translating the Drupal user interface. See also the Translations group.

How do I go about creating a pot file for my module?

If I am developing a module, how do i go about creating a pot file for that module?

Once I have a po file for the module, is there anything particular about uploading it? Or di I just treat it the same way I do the general po file?

Also - I notice in 4.5.0 that when I go into string manager and look for a string in a module i have installed (one of my own home-made jobs), then I can't find the string. Is this normal?

Changing Portuguese translation description on Drupal?

How can I change the contents of "http://drupal.org/node/12203"? I wanted to include more information, for example that the translation is "Portuguese from Portugal", to avoid future problems.

Duplicate strings when importing .po file

I'm currently working on a complete Danish translation of Drupal.

When I import the .po files with my translations I sometimes get duplicate strings in the database. The translation is imported but the original English text is still displayed on the site. This only seems to happen with long strings like help texts.

Variables that needs translation

Is it possible to translates strings stored in variables?

Concider the following example code:

$sizes = array("Big", "Medium", "Small");

foreach ($sizes as $size) {
  print t("$size");
}

If the array is small, or well defined, one could easily get around this with something like

switch ($size) {
  case "Big":
  print t("Big");
(...)

but with big arrays or many options, this would could get really ugly.

Rgds.

Delete event nodes?

This is possibly a newbie question. I have installed the event module, but want to delete the calendar I created. Under the administer menu I can delete other things, but not events. Where should I look?
Thanks,
-cliff

What Can I DO Here?

Anybody Here?
Tell me Please.

Pages

Subscribe with RSS Subscribe to RSS - Translations