Closed (works as designed)
Project:
Slash
Version:
4.6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2005 at 17:43 UTC
Updated:
8 Nov 2005 at 13:30 UTC
I have found that when using this theme, some strings do not get localised, as when using default theme and others. For now, i have found the following:
I guess that these strings (in english) are fixed in the code of the theme. Does this make sense?
Comments
Comment #1
frjo commentedWhat version of Drupal are you using? It should work without problem with Drupal 4.6.x. I just tested on my own site and could not replicate your problem.
The cvs version of Slash is not tested yet with Drupal HEAD (what will become 4.7 soon) but it probably work OK. I just converted a format_name function I missed before to theme('username', $node).
Comment #2
alanza commentedI'm using drupal current 4.6 version and slash 4.6.0 version both from drupal downloads page.
I cannot find the msgids for the strings given in my previous message. Which are they?
Comment #3
alanza commentedI was taking a look at ...
Line 191 reads:
$submitted = t('By %author on %date', ...How can i localise the strings "By" and "on"?
By the way, i have seen the files for bluemarine theme and noticed that it's very different from slash. Are there more than one "kind" of themes?
Comment #4
alanza commentedI got it working right now. I had to change the theme a bit.
Changed
By %author on %datetoBy %author at %dateand now it works ok. I have a string for "By... at..." in my .po file, but not one for "By... on...".I wonder if the issue reported is a bug in the theme or it's just that the .po file doesn't have an appropriate string...
Comment #5
frjo commentedThere are several different types of themes. The new standard for Drupal 4.7 will be PHPTemplate, before it was xtemplate. Slash is a plain PHP theme. More info in the Theme developer's guide http://drupal.org/node/509.
I don't really get your problem with localizing the string "By %author on %date". If I would localize it into Swedish I just do something like "Av %author den %date" or why not "%date präntade %author dessa rader".