The text "posted by" is not possible to translate in the current version of the theme. This causes a lot of problems for everyone who doesn't use this theme in English. Please make this translatable.

Comments

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

Where in the code did you find the hard coded text?

Searching the files, "Posted by" appears on lines 322 and 508 of template.php (v 1.21.2.3). Both times it is inside a t() function. All other occurrences are inside comments.

TS’s picture

Actually I did it the other way around. I am not using Nitobe in English and I notice that there are a lot of "posted by" text to each article on the first page. I went into the translations interface and try to search for it, but was not found so I have no way to change it.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Needs work

The translatable text has changed since the original Swedish translation was made. The "posted by" strings are in nitobe.pot (v 1.2.8.1) on lines 56 and 76.

The original Swedish translation was made by Robert Johnsson (Hedkandi). If you contact him, he may be able to create an updated version.

Or if you wish to provide a new one, I'll be happy to add it.

TS’s picture

Status: Needs work » Postponed (maintainer needs more info)

Ok, the Swedish translation for "posted by" is "inlagd av". I am very greatful if you can add it.

TS’s picture

I have contacted Robert as well.

TS’s picture

Status: Postponed (maintainer needs more info) » Needs work
TS’s picture

Status: Needs work » Active

No response from Robert so far. Please add this support with the translation provided in comment #4 above. I have no clue how language files works so I have no way of providing a new file.

TS’s picture

Still no response from Robert. Please fix this in a future release of Nitobe!

The Swedish translation for "posted by" is "inlagd av".

Anonymous’s picture

Title: Text "posted by" is hard coded. It is not possible to translate this text. » Update Swedish/Svenska (sv) translation
Category: bug » support
Status: Active » Needs work

I received a reply from Robert. He is currently busy with work, but he says that he will update the translation as soon as he can.

Unfortunately, fixing the Swedish localization file isn't as simple as dropping in the "inlagd av," and additional work is likely needed on the translation that should be done by a native speaker.

In the interim, you can edit the template.php file to change any strings that you need translated immediately.

TS’s picture

Thanks! Updating template.php solved my issue for now. I also updated the date format as it is different in Swedish compared to English. If the date formatting also can be localized would be great.

magnus’s picture

Title: Update Swedish/Svenska (sv) translation » Swedish translation
Version: 6.x-4.1 » 6.x-4.x-dev
Category: support » task
Status: Needs work » Fixed

Imported Swedish translation to localization server and removed CVS file.

If anyone wonder why the translation is gone, please see Maintainer News dec 7 2010:

A. If you are a translation maintainer: you've already been contacted, and
your team is in the process of moving from drupal.org to localize.drupal.org.

B. If you are a translator: stop working on .po files in CVS (either for
Drupal core or contrib), instead import existing .po files from CVS to
localize.drupal.org (if not already), remove the imported file from CVS and
work on localize.drupal.org from now on.

C. If you are a drupal.org project maintainer: do not accept .po files
anymore in your issue queues and remove your .pot files from CVS; tell people
to use localize.drupal.org.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Awesome! Thanks!