News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

1. Hide categories by language. 2. Multi lingual title

Started by bitsbang.org, September 11, 2018, 10:30:52 PM

Previous topic - Next topic

bitsbang.org

Hello fellow simpleforumers,
I have a multi language site German and English

I would not display all the sop in English language
I would hide some categories based on user language preferences. If user has ENGLISH as language categories in German should be hidden for him and vice versa.


Any help opportunities?

Secondary, is there any simple way to make website title appear in s language user prefferd. Multi lingual website title.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

GigaWatt

Why hide boards? Users from the German boards can write in the English boards only in English, so that's not a problem. And vice versa of course ;). If you see a post that's not in English in the English boards, warn the user and/or delete the post (a suggestion, other courses of action can be taken). Besides, maybe a German user will get some good info from the English board and vice versa. Even though they may not be particularly that good in writing that board's language, they could use their passive knowledge (reading) or use Google Translate ;).

The closest thing to what you're asking for is the ignore boards option in user preferences. I don't think they can be preset to ignore certain boards by default (at least not without changing code), but every user can set any board to ignore. That way, when the user hits the "Show unread posts since last visit." button, posts made in the board he has set to ignore will not be shown as unread posts ;).

Or, you could set them to a predefined user group which shows or hides certain boards. You can do this after registration though, not during registration. I wouldn't do this though because of the reasons posted above. I can only think a few reasons why someone would hide certain boards (forum staff boards being the most used one).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Arantor

Actually, way back in the mists of time, this was attempted to have multilingual titles and so on - but all that happened is it confused users.

The closest solution is (as GigaWatt said) to make each category tied to a membergroup and have the group freely joinable, so you have a core set of boards everyone can see, and then let people opt into the English or German or whatever boards but this also has the side effect of locking out Google from seeing it.

Experience actually suggests that if the categories are signposted well enough, people usually can find it for themselves without needing to hide anything as seen here...
Holder of controversial views, all of which my own.

Advertisement: