views:

15

answers:

0

I am lost on multi-language implementation. How to handle it? Session, Cookies, File, ...other ways?

Overview Website is a user content website, like a social network. We will have system content controlled by us and user content translated by users. Languages supported will be system controlled. To start there will be the top 20 supported languages. There are two user types (Non-user and logged-in user). Both user types have pages as not all pages are behind a log-in. Non users can still view many public pages or profile pages that are public.

Requirement

  1. I want to access a public page in French (as an example) directly without having to hit the site in english then change the language to french. (optional)

  2. For user content -> If I want to translate an English content to Italian, I am looking to translate only that 1 content (example status update) not the entire page. So page is in English but I can input Italian for that one content without converting the entire page into Italian.

  3. Search for content based on language from one place. If I am reading reviews, I want to load only German reviews from the menu but not change other page content.

  4. I want to view all wall posts that are in German, can I do it straight from my profile by changing the language or do I have to logout of that language session and login with a new session for the new language, if session based?

  5. I am seeking to be able to change language on any page, for any content without having the user to login or logout.

    1. I need to perform analytics for internal purposes based on language type. (like number of wall posts by people by network X who posted content in Chinese. So I will need to track per language per content.)

Other I am still not sure if the content will be database or file driven but first I am looking into how I can best handle multi-language for scalability yet keep it user friendly.

Suggestions?