Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-29T04:51:59-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15436 2011-12-29T04:51:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=59070#p59070 <![CDATA[Re: Italian Localization]]>

nemoprincess, could you check it?

Statistics: Posted by Cristián Lávaque — December 29th, 2011, 4:51 am


]]>
2011-12-28T09:47:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=59008#p59008 <![CDATA[Re: Italian Localization]]> Statistics: Posted by newmediologo — December 28th, 2011, 9:47 am


]]>
2011-12-26T05:48:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=58812#p58812 <![CDATA[Re: Italian Localization]]>
Cristián Lávaque wrote:
What parts are missing translation that can't be done from that file?


HI.. Just take time to translate ALL the file including thew back-end and the Pro Version messages.. But I'm not able to use Poedit because it generates error when I save the file, I just can provide the s2member.pot in italian..

Have nice time..

Statistics: Posted by newmediologo — December 26th, 2011, 5:48 am


]]>
2011-12-19T18:29:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=56969#p56969 <![CDATA[Re: Italian Localization]]> Statistics: Posted by Cristián Lávaque — December 19th, 2011, 6:29 pm


]]>
2011-12-19T05:56:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=56905#p56905 <![CDATA[Re: Italian Localization]]>
I'd try to translate the s2member.pot to obtain the Italian localization but Id does not work, now I've follow the nemoprincess directions uploading the file s2member-it_IT.mo in the translation folder and it seem to works..

Ho I can perform a COMPLETE Italian Localization for s2Member..?

If this task is possible I can translate s2Member in Italian and share the result with the community..

Thanks all.

Statistics: Posted by newmediologo — December 19th, 2011, 5:56 am


]]>
2011-11-29T01:46:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=54162#p54162 <![CDATA[Re: Italian Localization]]>

Statistics: Posted by Cristián Lávaque — November 29th, 2011, 1:46 am


]]>
2011-11-28T09:15:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=54076#p54076 <![CDATA[Re: Italian Localization]]>
s2member-it_IT.mo

and localization will work for boths, S2Members and Wordpress.

Statistics: Posted by nemoprincess — November 28th, 2011, 9:15 am


]]>
2011-11-28T08:18:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=54071#p54071 <![CDATA[Re: Italian Localization]]> I could figure out how to make my translation work. The point is that in the last Wordpress release (3.2.1) in the wp-config.php we have something like this to define the Italian language:

define('WPLANG', 'it_IT');

Now I am pretty sure that S2Members doesn' t recognize this part: 'it_IT'
If I have something like:

define('WPLANG', 'it');

it will work, but my Wordpress localization in this case is not working anymore.

If I have both of them, it will take for good just the first one.

Statistics: Posted by nemoprincess — November 28th, 2011, 8:18 am


]]>
2011-10-13T15:37:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46821#p46821 <![CDATA[Re: Italian Localization]]> Statistics: Posted by nemoprincess — October 13th, 2011, 3:37 pm


]]>
2011-10-13T13:11:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46807#p46807 <![CDATA[Re: Italian Localization]]> Thanks for the follow-up.

And you have define("WP_LANG", "it"); correct?
Does WordPress load any other translation files, or is this problem s2Member-specific?
In what way are you testing this to see if it's working? I noticed that your MO file only provides translation for a few of s2Member's front-end features. For instance, you've translated s2Member's Profile Editing panel. That loads up fine on my end, so I'm stumped right now, so sorry.

Statistics: Posted by Jason Caldwell — October 13th, 2011, 1:11 pm


]]>
2011-10-13T06:37:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46779#p46779 <![CDATA[Re: Italian Localization]]> I tried already the first one. Any other suggestion will be much appreciated. Thanks a lot.

Statistics: Posted by nemoprincess — October 13th, 2011, 6:37 am


]]>
2011-10-12T20:25:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46756#p46756 <![CDATA[Re: Italian Localization]]>
Here are some things I would try.

1. Rename s2member-[it].mo to s2member-it.mo ( brackets are invalid ).
( this should fix the issue that you're having )

2. Or, if that does NOT work, move your s2member-it.mo file into your plugins directory.
/wp-content/plugins/s2member-it.mo

Then create this file also.
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_action 
("plugins_loaded", "load_s2_textdomain"); function load_s2_textdomain ()
    {
        load_plugin_textdomain("s2member");
        /* Allows `.mo` file to be loaded from:
        `/wp-content/plugins/s2member-[locale].mo`. */
    }
?>
* Be sure NOT to have any spaces/tabs/line breaks before or after <?php ?>.

Statistics: Posted by Jason Caldwell — October 12th, 2011, 8:25 pm


]]>
2011-10-12T18:36:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46741#p46741 <![CDATA[Re: Italian Localization]]> Statistics: Posted by Jason Caldwell — October 12th, 2011, 6:36 pm


]]>
2011-10-12T17:15:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46727#p46727 <![CDATA[Re: Italian Localization]]>
Thanks again.

Statistics: Posted by nemoprincess — October 12th, 2011, 5:15 pm


]]>
2011-10-12T12:07:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46682#p46682 <![CDATA[Re: Italian Localization]]>
You don't need to do anything with that code, I just posted it to clarify what s2Member does already. Can you please ZIP your MO file and attach it in a reply for me? I'll review this for you and provide a solution.

Statistics: Posted by Jason Caldwell — October 12th, 2011, 12:07 pm


]]>
2011-10-12T05:16:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46657#p46657 <![CDATA[Re: Italian Localization]]> Thanks

Statistics: Posted by nemoprincess — October 12th, 2011, 5:16 am


]]>
2011-10-11T17:53:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=46628#p46628 <![CDATA[Re: Italian Localization]]> Hi there. Thanks for reporting this important issue.

s2Member does load it's textdomain inside:
/s2member/includes/classes/translations.inc.php
Code:
public static function load ()
    {
        load_plugin_textdomain ("s2member", false, c_ws_plugin__s2member_utils_dirs::rel_path (WP_PLUGIN_DIR, dirname (dirname (__FILE__)) . "/translations/"));
        /**/
        do_action ("ws_plugin__s2member_during_translations_load", get_defined_vars ());
        /**/
        add_filter ("gettext", "c_ws_plugin__s2member_translations::translation_mangler", 10, 3);
    /**/
    } 
Did you set the WP_LANG constant in your /wp-config.php file?
See: http://codex.wordpress.org/Installing_W ... r_Language

Statistics: Posted by Jason Caldwell — October 11th, 2011, 5:53 pm


]]>
2011-10-06T05:06:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=44952#p44952 <![CDATA[Re: Italian Localization]]> Statistics: Posted by camillemm — October 6th, 2011, 5:06 am


]]>
2011-10-06T05:03:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=44951#p44951 <![CDATA[Re: Italian Localization]]> Statistics: Posted by nemoprincess — October 6th, 2011, 5:03 am


]]>
2011-10-06T03:02:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=44937#p44937 <![CDATA[Re: Italian Localization]]>
Code:
load_plugin_textdomain('s2member', 'wp-content/plugins/s2member');

in the s2member.php file but I cannot find it.

By the way, is there any french translation finished ?

Statistics: Posted by camillemm — October 6th, 2011, 3:02 am


]]>
2011-10-05T21:08:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15436&p=44916#p44916 <![CDATA[Italian Localization]]>
s2member/includes/translations

and tried to call it as

s2member-[locale].mo
s2member-[it].mo
s2member-IT.mo

but it doesn' t take the translation.

Should I have done anything else? Thanks

Statistics: Posted by nemoprincess — October 5th, 2011, 9:08 pm


]]>