Results 1 to 9 of 9
Like Tree2Likes
  • 1 Post By almightyeric
  • 1 Post By almightyeric

Thread: translating SimplyResponsive child theme in Multisite installation

  1. #1
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts

    translating SimplyResponsive child theme in Multisite installation

    I want to translate various strings (text) throughout my site. For example, I want the "Post an Ad" button to say "Foo" (not really, but for the sake of this discussion).

    Here is my setup:
    • Server is local WAMP server (PHP's get_text extension is enabled)
    • WordPress is in multisite mode
    • WordPress version is 3.7.1 (not modified)
    • ClassiPress version is 3.3.1 (not modified)
    • SimplyResponsive version is 1.3.1 (not modified)
    • SimplyResponsive is running on the sub-sites (i.e. not the main site)


    Here are the files/code I've messed with:

    • wp-config.php says: define('WPLANG', 'en_US');
    • I have a classipress.mo file in wp-content\themes\simply-responsive-cp. I generated this file by renaming the classipress.pot file included with the SimplyResponsive child theme, to classipress.po; opening it with PoEdit, translating "Post an Ad" to "Foo", validating it*, then saving the file (generating the .mo file).

    * when I first validated the .po file in PoEdit, PoEdit complained about multiple definitions of two strings: "Popular" and "Latest Ads". I commented one instance of each of those strings out in the .po file.

    Here is the result:

    The "Post an Ad" button still says "Post an Ad" (the translation did not take effect).


    What did I do wrong? (I have tried renaming the .mo file to classipress-en_US.mo, and to en_US.mo, with no change in the result). How can I translate the child theme in my multisite environment?

    I don't have any admin credentials to share as I develop on a local WAMP server.

  2. #2
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,499
    Thanks
    75
    Thanked 556 Times in 504 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


  3. #3
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    erotiqc likes this.

  5. #5
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,499
    Thanks
    75
    Thanked 556 Times in 504 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


  7. #7
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,499
    Thanks
    75
    Thanked 556 Times in 504 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


  8. #8
    Junior Member buddb8706's Avatar
    Join Date
    Feb 2012
    Location
    United States
    Posts
    40
    Thanks
    7
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    talent likes this.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Samcy Translating ClassiPress strings when using a child theme
    By almightyeric in forum Help Using ClassiPress
    Replies: 2
    Last Post: November 15th, 2013, 07:32 PM
  2. [SOLVED] Child Theme Installation - Procedures
    By gusthemes in forum Help Using Vantage (Legacy)
    Replies: 4
    Last Post: August 19th, 2013, 02:37 PM
  3. Child theme installation for clipper
    By couponminister in forum Clipper General Discussion
    Replies: 3
    Last Post: June 27th, 2013, 06:39 PM
  4. one click child theme installation
    By welshdragon in forum Help Using ClassiPress
    Replies: 4
    Last Post: September 14th, 2011, 12:21 AM