[Tiki-devel] Adding tr tags on forum title name
Bsfez Tiki via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
(Yes it is my Tiki leftovers day ;-) )
The forum title or name are not translated (no tr tags).
I had cases where, in a multilingual context, it was an issue.
* One {tr}support{/tr} forum for any languages
* When using "Discuss pages on forums"
* … (I have a few Tiki with a custom file to answer the issue while I don’t remember exact example)
Now, I remember they were some different view about this (Luci ?) and I prefer to ask before submitting a merge request.
What is the opinion on committing this to have the forum name translated ?
At:
templates/tiki-view_forum.tpl
Line 4
- {title help="forums" admpage="forums" url=$forum_info.forumId|sefurl:'forum'}{$forum_info.name}{/title}
+ {title help="forums" admpage="forums" url=$forum_info.forumId|sefurl:'forum'}{tr}{$forum_info.name}{/tr}{/title}
B
_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel