Topic #4017 (no title)
0 guests and 0 members have recently viewed this.
The top 3 point earners from 14th Dec 2025 to 21st Dec 2025.
| PDStig |
|
|
|---|---|---|
| Gabri |
|
|
| sholzy |
|
|
There are no events at this time
(Click to enlarge)
(Click to enlarge)
(Click to enlarge)
#3480 - Template issues in other languages
The default CSS will have provisions to cope with translations. For example, we only have fixed layout for tables on English as we can't trust name lengths on other languages to not overrun:
[code]
.wide_table {
width: 100%;
/*{+START,IF,{$EQ,{$LANG},EN}}*/
table-layout: fixed;
/*{+END}*/
}
[/code]
If you like you can just change it to:
[code]
.wide_table {
width: 100%;
table-layout: fixed;
}
[/code]
and make sure your language strings don't overrun.
These are different language strings I think. The one's in the side block are standalone labels, the others combine the label and count together into more of a phrase.
"Now to read up on how to change the names of the catalogue fields themselves, so name is translated."
Same as translating any content - edit in the language you want it to be different in.
(Click to enlarge)
I suspect what you're seeing is nothing to do with that, and to do with some other CSS differences for non-English languages.
This is in cns.css...
/*{+START,IF,{$EQ,{$LANG},EN}}*/
.cns_forum_topic_wrapper_column_column2, .cns_forum_grouping_column2 {
width: 100%;
}
.cns_forum_topic_wrapper_column_column3 {
word-wrap: break-word;
width: 100px;
}
.cns_forum_topic_wrapper_column_column4, .cns_forum_grouping_column3 {
word-wrap: break-word;
width: 5em;
}
.cns_forum_topic_wrapper_column_column5, .cns_forum_grouping_column4 {
word-wrap: break-word;
width: 5em;
}
.cns_forum_topic_wrapper_column_column6 {
width: 14em;
}
.cns_forum_topic_wrapper_column_column6_shorter {
width: 9em;
}
/*{+END}*/
i.e. we only set the column widths for English.
For non-English they will set based on content. If there aren't long forum names or topic names, it's going to divide the space more equally.
I don't think there's a lot we can do about this. We can't predict if the title "Topics" is going to take a few characters, or 50 characters - it depends on the language. And if it does take 50, we'd want the browser to then wrap it intelligently.