Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: on September 11, 2018, 10:30:52 PM

Title: 1. Hide categories by language. 2. Multi lingual title
Post by: on September 11, 2018, 10:30:52 PM
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.
Title: Re: 1. Hide categories by language. 2. Multi lingual title
Post by: Kindred on September 12, 2018, 12:41:14 AM
Neither of these will likely ever be features
Title: Re: 1. Hide categories by language. 2. Multi lingual title
Post by: GigaWatt on September 12, 2018, 06:46:45 AM
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).
Title: Re: 1. Hide categories by language. 2. Multi lingual title
Post by: Arantor on September 26, 2018, 10:34:11 AM
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...