Results 1 to 7 of 7

Thread: Bilingual JobRoller? Oh, yeah! I had problems with that but I succeed.

  1. #1
    Thread Starter
    Junior Member bluehat's Avatar
    Join Date
    Mar 2011
    Location
    Montreal, Canada
    Posts
    24
    Thanks
    5
    Thanked 2 Times in 2 Posts

    Lightbulb Bilingual JobRoller? Oh, yeah! I had problems with that but I succeed.

    Hi all,

    Recently a client asked me if i can make JobRoller bilingual. After installing and reinstalling all from the scratch I find a way to make this great theme bilingual.
    It's more easy that you think:
    - install Wordpress 3.4.x (fresh install)
    - install JobRoller 1.6.x (fresh install)
    - change permalinks to %postname% (be sure you update the .htaccess file too)
    - configure JobRoller like usual
    - install Polylang plugin: http://wordpress.org/extend/plugins/polylang/
    - add 2 (or more) languages on plugin settings

    - do not forget to add the translation inside the jobroller theme folder (ex: fr_FR.po and fr_FR.mo, en_US.po and us_EN.mo)
    (search for Poedit free software if you don't know how to add languages po/mo files)

    - do not change menu tab in polylang settings

    - update string translations tab

    - set the following settings in the settings tab: Uncheck detect broser language,
    check "The language code, for example /en/, is added to all urls when using pretty permalinks."
    check "Remove /language/ in pretty permalinks. Example: http://profemed.com/jobs/en/"
    let unchecked the Hide URL language information for default language
    check "Allow to synchronize categories, tags, featured image and other metas between translations of a post or page"

    - IMPORTANT: add translation for one page only: "Contact" page by clicking the plus sign near the languages when displaying all pages

    - around line 44 in header.php add what's in bold
    <div id="mainNav"><ul><?php pll_the_languages(array('show_flags'=>1,'show_name s'=>1));?></ul><?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => '', 'depth' => 1, 'fallback_cb' => 'default_primary_nav' ) );?></div>
    - in the theme-support.php
    around line 98 change link to site_url(substr(get_bloginfo('language'),0,2).'/dashboard')
    around line 107 change link to site_url(substr(get_bloginfo('language'),0,2).'/login')
    and around line 120 change link to: site_url(substr(get_bloginfo('language'),0,2).'/submit')
    Thas't it! I hope I saved couple of hours to somebody!

    Mods, maybe it's not a bad idea to integrate this within the theme in the new release!

    Let me know your opinions! Thanks guys.
    Last edited by bluehat; October 16th, 2012 at 11:10 AM. Reason: more info

  2. The Following User Says Thank You to bluehat For This Useful Post:

    jomarkosabel (October 16th, 2012)

  3. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,981
    Thanks
    170
    Thanked 3,408 Times in 3,279 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  4. #3
    Thread Starter
    Junior Member bluehat's Avatar
    Join Date
    Mar 2011
    Location
    Montreal, Canada
    Posts
    24
    Thanks
    5
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  6. #5
    Thread Starter
    Junior Member bluehat's Avatar
    Join Date
    Mar 2011
    Location
    Montreal, Canada
    Posts
    24
    Thanks
    5
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    Affiliate Member AppThemes Affiliate wptemaer's Avatar
    Join Date
    Apr 2013
    Location
    Denmark
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    trude76's Avatar
    Join Date
    Dec 2012
    Location
    Leipzig, Germany
    Posts
    785
    Thanks
    1
    Thanked 61 Times in 57 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems updating jobroller v1.3.1 to 1.4.1
    By neobloga in forum Report JobRoller Bugs
    Replies: 2
    Last Post: June 18th, 2012, 05:33 AM
  2. Posting ad doesn't succeed but no error message, image problem
    By orangemedia in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: June 13th, 2012, 10:42 AM
  3. jobroller 1.6 problems
    By mesh in forum JobRoller General Discussion
    Replies: 1
    Last Post: May 22nd, 2012, 04:57 AM