• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Post language based on forum language.

#1
Hello!,

I have a forum with multiple languages on this forum I have a few introduction posts that are static and never change they are basically sticky in the top of some forums. (example: Forum Rules)

right now it is 1 post with English, Japanese, Korean, Swedish all under each other but it looks pretty ugly and it is to big, I tried to use the spoiler BB code and only show English as default and people could click there Language but I got some comments that this is unclear.

Is there someway to change the content dynamically so it only shows Japanese if the Japanese language is selected and only Korean if the Korean language is selected and so forward?

If there is nothing build in for this is it then somehow possible to use the actually language file in post? So if I would create the static posts as a language entry can you then use that entry in your post somehow?

I hope you understand what I mean and thank you for any help :).
 

Brogan

XenForo moderator
Staff member
#2
There is nothing in the software which would translate post content.

You would require a custom solution.
 
#3
There is nothing in the software which would translate post content.

You would require a custom solution.
I would ofcourse translate it myself.

So is there a way to call the actually language api from within a post?

So this for instance:
Code:
 <phrase title="static_post_1" addon_id="XenForo" version_id="1040670" version_string="1.4.6"><![CDATA[Blablabla post]]></phrase>
Can you call this from within a post? that would solve the problem also.