Hello.

There is a line in advanced_forum.module

$new_header[] = array('data' => t('Views'), 'class' => 'topic-views');

It's perfectly fine. I just cannot translate the word 'Views' differently in different contexts - so, if I translate it to match the meaning of 'Views' as a module, that meaning does not correspond to 'number of views'.

Is it possible to make the name of this string configurable? Even when using String overrides in current state 'Views' here and 'Views' from the 'Views' module will be translated in same way.

A workaround is to edit this string like this:
$new_header[] = array('data' => t('# Views'), 'class' => 'topic-views');

fnd then translate the resulting string.

Regards,
Danila

Comments

Michelle’s picture

I'm not sure on this one. It's not an issue in 2.x since the column names are set in the view and can be changed in the UI. I'm inclined to won't fix in 1.x based on this:

  • This is a change to strings which would require all translations be updated in a stable version. Not good.
  • "# Views" looks bad and is inconsistent with most forum software so I don't like it as the English default.
  • This is a user facing string and so would show up as a visible change on 11K+ sites with the only option to change it to be to use the translation system (a pain for English sites) or hack the code.

That said, I don't use 1.x and so am not directly affected by this. I'd like to get some more feedback by people who are.

Michelle

DanilaD’s picture

Thank you, Michelle. I've also moved to 2.x.

Danila

Michelle’s picture

Status: Active » Closed (won't fix)

Ok.

Michelle