Dear all -
I need a multilingual OR site (using the language files that come with the distro). I'm trying to develop the optimum solution strategy for this, and need your advice.
As I am not a programmer, the most obvious solution would be as follows:
1. Create a separate installation of OR for each language;
2. link them all to the same single database
3. create the main page (index.htm in the root dir) that would contain nothing but the links to these separate monolingual sites (probably in graphic form to make sure no encoding problems occur).
Voila!
The problem with this approach is that I would have to make a number of changes in the layout: get rid of every item that requires language-specific input. For example, the Title in the Add Listing form.
I've tried to comment it out - this caused an unpleasant error: the new listings would not save.
SO: Question #1 - how can I weed these items out? I mean Title, Notes and MLS Import. I also need to get rid of the photo option - no photos and no photo column that eats space.
OK, I can see another approach to creating a multilingual site: in the common.php file, there is a line
//LANGUAGE FILE PATH -- USED FOR MULTI-LANGUAGE SUPPORT
include($config['basepath'].'/include/language/english.php');
I would place a language menu at the top of the default home page, and replace the word "english" in common.php with a variable (no idea how - I'm not a programmer; I only realize that English has still to be marked as a default!). Once the language (other than English) is selected, the site simply reloads using the language file corresponding to the selected language.
DO I make sense to you guys?
This would still take some tweaking as regards layout to make sure there are no language clashes (e.g., buttons - I'd rather replace pix buttons with text which would then also reload language-specifically - no idea how to).
SO: Question #2 - is this approach any easier than the one above?
Question #3: how do I tackle this task, in either case?
Question #4: is this the kind of task I can leverage by using your help here (a line here, a line there...) - or should I stop fooling myself and go straight to posting this as a quotation request so that someone would do it for pay?
All input will be greatly appreciated.
L
Bookmarks