Filtering by language

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 4 Replies | 3 Followers

ghettoiam
Not Ranked
10 Posts
Points 155
By: ghettoiam
Posted: Wed, Jun 11 2008 6:36 PM

I'm still in the dev process of internationalizing my site and I've received some great help so far but now I appear to be at a bit of a wall.

I've checked "Enable content language filters"

I've assigned forums to a specific language.

I've created users and assigned them to a specific language.

My problem is that the users set language and the language to filter the forums by seem unrelated.

A forum that is set to "Francais / French" can be seen by all users regardless of language, not just my French users.

The "filtering" languages seem to lay in 'communityserver.config' and seem to be disconnected from the 'languages.xml'   How can I get both of these on the same page?

Thank you for any help!  (I'm a bit stuck)

 

All Replies

noutlaw
Not Ranked
18 Posts
Points 285
By: noutlaw
Posted: Fri, Aug 22 2008 3:50 PM In reply to

were you able to get this resolved?

 
  • Post Points: 5 |
afscrome
Top 10 Contributor
2,720 Posts
Points 40,025
TelligentSupportTeam
Answered (Not Verified) By: afscrome
Posted: Fri, Aug 22 2008 5:18 PM In reply to

Have you enabled Content Language Filters under Control Panel > Site Configuration > Setup > General Site Settings.  Also, I believe users have to select which languages to filter out in their profile.  You could write a CS Module to change the behaviour so thsoe who select French as their language only see the French sections etc.

 
Answered (Not Verified) by: afscrome
  • Post Points: 20 |
noutlaw
Not Ranked
18 Posts
Points 285
By: noutlaw
Posted: Fri, Aug 22 2008 11:27 PM In reply to

We plan on enabling them once we are ready for other languages.  However when setting up a forum don't i still need to setup 2 forums - one for french and then one for english?  I want to allow people to post universally in their language into a forum - but to the user it says "abc" and to the french "xyz" but underneath it's still  the same forum. 

I didn't think forum names are specific to the language sections in the setup???

 

 
  • Post Points: 20 |
afscrome
Top 10 Contributor
2,720 Posts
Points 40,025
TelligentSupportTeam
Answered (Not Verified) By: afscrome
Posted: Sat, Aug 23 2008 3:59 AM In reply to

You're not going to do that out of the box.

My suggestions however would be to replace all instances of <CSForum:ForumData Property="Name" runat="server /> with something like

<%=ResourceManager.GetString("ForumName-" + CSControlUtility.Instance().CurrentForum.SectionID.ToString(),"ForumNames.xml) %>

Then inside each language pack, create a new ForumNames.xml file, create resources with the names "Forum-N" where N is the sectionID of each forum, and you can give then show a different name for each forum.

You may also have to make some changes to the Emails Provider to replace the [ForumName] text token to get that resource instead of just Forum.Name.

 
Answered (Not Verified) by: afscrome
  • Post Points: 5 |
Page 1 of 1 (5 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com