Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Multilingual add-on for Open-Realty v.3.x

  1. #1
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Multilingual add-on for Open-Realty v.3.x

    I have just posted a new free add-on: Multilingual add-on for O-R v.3.x
    You can download from here: http://addons.open-realty.org/add-on-35.html

    The Multilingual Add-on IS NOT compatible with Open-Realty v.3.1.0 or greater.

    It is "the start" and this add-on will require several releases... the goal is to end with a real solution to have a fully Multilingual O-R Website or at least the most possible.

    Today I have released the version 1.0.0 - for now, you may expect ONLY it to act as a Template Changer AND as a Language Changer. The add-on requires you to have Site Template folders named the same as the add-on language folders (yes, only the ones you wish to have). The add-on also requires a special setting at Site Config, "General" tab, on "Security Settings" at the end of the page you need to set "Allow template switching" and "Allow language switching" to "YES".

    I know... you will have questions. Feel free to post it here.
    My suggestion: copy and rename LAZULI site template folder to "en" and "es". Place the add-on tag {addon_multilingual_select} at your main.html template file and you will have the options to change language from English to Spanish. Make tests, edit the language files and replace the texts at your HTML template files with language tags - I bet you will have fun.

    DEMO (actually in 4 languages: English, French, German and Portuguese): http://goo.gl/MhlLm

    Eduardo

    Dec,02/2010 - released v.1.0.1 - included new function for new add-on tag {addon_multilingual_listfield_#} to be used at listing detail HTML template files.
    Dec,03/2010 - released v.1.0.2 - included new function to obfuscate email addresses, included rel="external" to URL listing field type, included HTML help file, improved the code in general and updated some language files.
    Dec,05/2010 - released v.1.0.3 - included 4 new functions "getpage", "getpagetitle", "metadescription", "metakeywords" to handle pages stored at the database (please read the included help file for more details).
    Dec,06/2010 - released v.1.0.4 - included new function multilingual_property_class_checkboxes to perform translations at search_class_default.html
    Dec,13/2010 - released v.1.0.5 - fixed bug on uninstallation code, add-on tag {addon_multilingual_select} deprecated and created 2 new tags, included new function multilingual_search_fields to be used at search_page_#.html, included new function addon_multilingual_replace_headers to be used at search_result_#.html, included new function addon_multilingual_current_language and improved and encrypted (IONCUBE) the add-on core code (multilingual_core.inc.php).
    Last edited by ebmarques; 03-31-2011 at 04:38 PM. Reason: released v.1.0.5

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  2. #2
    Join Date
    Dec 2010
    Posts
    8

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Hello Eduardo,

    I am new to open-realty and I am interested in multilangual feature because I need to make a website in English, French and Spanish.
    I downloaded the addon above and installed it, I see the dropdown menu with the 3 options but the menu on the left doesn't translate?

    You can see it using this link:
    http://www.servicespremium.com/openrealty/

    Any help will be apreciated...

    Thank you,
    Angelo

  3. #3
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Quote Originally Posted by aciciotti View Post
    ...I downloaded the addon above and installed it, I see the dropdown menu with the 3 options but the menu on the left doesn't translate?...
    Hi Angelo,

    I was expecting a question like yours!
    Congrats... you did very well creating Site Template folders named "en", "es" and "fr".
    BUT... there is more to do. There is a "home work". You need to edit ALL yours HTML template files (yes, at all folders - main files, listing detail files, search files, etc...) and replace hardcoded texts with language tags. The add-on will not do that for you... For example, at yours "main.html" (3 files, one at each folder) you will find:

    Code:
    <li><a href="{url_index}">HOME</a></li>
    <li><a href="{page_link_3}">ABOUT US</a></li>
    <li><a href="{page_link_2}">CONTACT US</a></li>
    Replace to:

    Code:
    <li><a href="{url_index}" title="{lang_menu_home}">{lang_menu_home}</a></li>
    <li><a href="{page_link_3}" title="{lang_menu_about_us}">{lang_menu_about_us}</a></li>
    <li><a href="{page_link_2}" title="{lang_menu_contact_us}">{lang_menu_contact_us}</a></li>
    Voilá! You have your menu translated.

    BUT... notice this add-on is at a very early stage!!! Notice I have just released version 1.0.2 (update using the Add-on Manager). So far, I am working only at "frontend". I haven't "arrived" at the search page. Many add-on releases will follow and I bet it will take MONTHS to have the add-on working as we wish.

    Do you wish to help us to get this add-on developed? If yes, keep trying and bringing problems.

    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  4. #4
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Just tested French at my local installation and found out the add-on French language file is missing a lot of required variables. For now, you will need to get the English language file and update the French one.
    As I said, there is still a lot of work ahead...
    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  5. #5
    Join Date
    Jun 2006
    Location
    Alajuela, Costa Rica
    Posts
    107

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Hello Eduardo!
    I was looking for a new way to do the multi-lingual, but was looking in the wrong place!
    THANK YOU!
    Ryan sent me this link as UMP is apparently not compatible with the new PHP 5.3
    I want to try this new add-on, I know I will have lots of questions. I have until March to get this figured out.
    Do you need help with the translations? I can help with the Spanish.
    Let me know
    Silence is golden....
    but Duck tape is silver!!
    My site: www.crfirst.com

  6. #6
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Quote Originally Posted by Terrytica View Post
    ...I want to try this new add-on, I know I will have lots of questions. I have until March to get this figured out. Do you need help with the translations? I can help with the Spanish. Let me know
    Yeah, highly recommended to try before deciding for it.
    I already have a new version to be released but I wish to release it with the add-on documentation - to write the documentation is something very annoying to me!
    Have you seen the DEMO? It is much better than UMP.

    About translations, help is always welcome. Please read post#1 at this thread:
    http://support.open-realty.org/showthread.php?22328

    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  7. #7
    Join Date
    Jun 2004
    Location
    Beauceville, Quebec, Canada
    Posts
    132

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Giving this a try EBmarques if you need someone for french let me know as i know french.
    got it installed through addon manager now going through the steps to do it made changes in site config to allow template and language chages. thats where i am at now.

  8. #8
    Join Date
    Jun 2006
    Location
    Alajuela, Costa Rica
    Posts
    107

    Cool Re: Multilingual add-on for Open-Realty v.3.x

    Hi Eduardo,
    Thanks for this super add-on!! Once again you have saved the day.
    I still have a couple of elements that are not translating. I have checked the custom language files (/include/language/es/custom/terry.inc.php) for Spanish and English and compared everything to ones that do translate properly. I have read the documentation but now I dont know what to check. Is there some other place I should be looking? These are also some of the ones which refused to translate with UMP:
    Agua Caliente: throughout
    Tipo de acesso: Good all year
    Maybe I can help in some way with the "annoying documentation"?
    Silence is golden....
    but Duck tape is silver!!
    My site: www.crfirst.com

  9. #9
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Quote Originally Posted by Terrytica View Post
    Hi Eduardo,
    Thanks for this super add-on!! Once again you have saved the day.
    I still have a couple of elements that are not translating. I have checked the custom language files (/include/language/es/custom/terry.inc.php) for Spanish and English and compared everything to ones that do translate properly. I have read the documentation but now I dont know what to check. Is there some other place I should be looking? These are also some of the ones which refused to translate with UMP:
    Agua Caliente: throughout
    Tipo de acesso: Good all year
    Maybe I can help in some way with the "annoying documentation"?
    Hi Terry,

    At the add-on "help" file we can read: "2. With this add-on, "you cannot" have section tags at your LISTING DETAIL HTML template files. You will need to replace those tags with add-on tags - one add-on tag for each field that should be included at the section tags." - my English was really bad on this one, huh? At the end, I mean: one add-on tag for each listing field that need to be replaced by the section tags.

    Seems who did (me!) the installation, forgot to edit your listing detail template file.
    But I have just checked your Website and seems who did (me!) that, already fixed it.
    So... problem solved.

    I would love to have your help to finish the add-on documentation!!! But unfortunately you can't help and I need to do that annoying "thing" by myself. Thank you very much anyway!!! I have started to write it 2 months ago and still didn't finished (not having free time and also not having the mood!).
    Maybe you could find English mistakes made by me on what is already done? Ideally that should be done after finishing the add-on docs but could be done now with what we have...

    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  10. #10
    Join Date
    Jun 2006
    Location
    Alajuela, Costa Rica
    Posts
    107

    Default Re: Multilingual add-on for Open-Realty v.3.x

    Thanks Eduardo,
    I should have been able to figure that out, I did look at it, but didn't understand that clearly. I didn't want to criticize a little thing like your English after all the work you have done with this add-on and always helping out here at the forum.
    I will be happy to help out with the English corrections.
    I sent what I have so far... I understand there is more to come, let me know and I will get that done as well. Some of the links go to my website because I copied it from my website, I guess you will need to change that part.
    Terry
    Last edited by Terrytica; 02-20-2011 at 11:41 AM. Reason: update
    Silence is golden....
    but Duck tape is silver!!
    My site: www.crfirst.com

Similar Threads

  1. Upgrading Open-Realty 2.x Templates For Open-Realty 3.x
    By greengiant in forum Announcements
    Replies: 0
    Last Post: 06-24-2010, 03:16 PM
  2. U.M.P. - Unofficial Multilingual Patch for Open-Realty®
    By ebmarques in forum Language help, ideas, discussion & Releases (CLOSED)
    Replies: 566
    Last Post: 06-17-2010, 11:31 PM
  3. Replies: 0
    Last Post: 05-31-2010, 04:19 PM
  4. Open-Realty 1.1.5b to Open-Realty 2.0 Upgrade Notes.
    By greengiant in forum HELP (CLOSED)
    Replies: 20
    Last Post: 12-07-2007, 11:58 PM
  5. U.M.P. - Unofficial Multilingual Patch for Open-Realty®
    By ebmarques in forum General Discussion
    Replies: 0
    Last Post: 02-16-2007, 12:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •