Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Multiple languages [need help]
XTfan Offline
Junior Member
**
Posts: 3
Joined: Nov 2011
Post: #8
RE: Multiple languages [need help]
It doesn't show a blank page anymore Smile

However, it still doesn't work unfortunately. I also made sure I had put the actual values as for formal German for instance, you wouldn't actually type in 'german' I believe as you'd have to use the name that the language PHP file uses which would be deutsch_sie (for formal German) instead.

On the bright side, it seems like I discovered another dirty workaround for what I wanted to do. I made a new global template called xx_forumdisplay_newthread with this code in it:

PHP Code:
<a href="newthread.php?fid={$fid}"><img src="{$mybb->settings['bburl']}/images/language_name/newthread.gif" alt="{$lang->post_thread}" title="{$lang->post_thread}" /></a>


What you would do is replace xx_ with the appropriate prefix and in the XThread options for that forum you would also add the prefix to the template in addition to the language. In the above code, you'd also swap out language_name with the name of the language from the image folder.

Thanks for the help though as it guided me in the right direction although as stated before, I'm still open to a better solution as this one's far from perfect but at least it's functional from the results I got.

If anyone is planning on using this solution for their own use and something was unclear, let me know and I'll try to clarify the instructions more.

11-18-2011 11:44 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Multiple languages [need help] - XTfan - 11-15-2011, 04:14 PM
RE: Multiple languages [need help] - XTfan - 11-17-2011, 03:21 PM
RE: Multiple languages [need help] - XTfan - 11-18-2011 11:44 AM

 Standard Tools
Forum Jump: