1..34 # ->initialize() ok 1 - ->initialize() connects to the user.change_culture event not ok 2 - ->initialize() sets the PHP locale when a culture option is provided # Failed test (./sfI18NTest.php at line 44) # 'a:18:{s:13:"decimal_point";s:1:".";s:13:"thousands_sep";s:1:",";s:15:"int_curr_symbol";s:4:"USD ";s:15:"currency_symbol";s:1:"$";s:17:"mon_decimal_point";s:1:".";s:17:"mon_thousands_sep";s:1:",";s:13:"positive_sign";s:0:"";s:13:"negative_sign";s:1:"-";s:15:"int_frac_digits";i:2;s:11:"frac_digits";i:2;s:13:"p_cs_precedes";i:1;s:14:"p_sep_by_space";i:0;s:13:"n_cs_precedes";i:1;s:14:"n_sep_by_space";i:0;s:11:"p_sign_posn";i:1;s:11:"n_sign_posn";i:1;s:8:"grouping";a:2:{i:0;i:3;i:1;i:3;}s:12:"mon_grouping";a:2:{i:0;i:3;i:1;i:3;}}' # ne # 'a:18:{s:13:"decimal_point";s:1:".";s:13:"thousands_sep";s:1:",";s:15:"int_curr_symbol";s:4:"USD ";s:15:"currency_symbol";s:1:"$";s:17:"mon_decimal_point";s:1:".";s:17:"mon_thousands_sep";s:1:",";s:13:"positive_sign";s:0:"";s:13:"negative_sign";s:1:"-";s:15:"int_frac_digits";i:2;s:11:"frac_digits";i:2;s:13:"p_cs_precedes";i:1;s:14:"p_sep_by_space";i:0;s:13:"n_cs_precedes";i:1;s:14:"n_sep_by_space";i:0;s:11:"p_sign_posn";i:1;s:11:"n_sign_posn";i:1;s:8:"grouping";a:2:{i:0;i:3;i:1;i:3;}s:12:"mon_grouping";a:2:{i:0;i:3;i:1;i:3;}}' # ->getCulture() ->setCulture() ok 3 - ->getCulture() returns the current culture ok 4 - ->setCulture() sets the current culture # ->__() ok 5 - ->__() translates a string ok 6 - ->__() translates an object with __toString() ok 7 - ->__() takes an array of arguments as its second argument ok 8 - ->__() takes a catalogue as its third argument ok 9 - ->__() 1 minute translated as 1 menit ok 10 - ->__() 1 translated as 1 ok 11 - ->__() number 1 translated as 1 ok 12 - ->__() translates a string ok 13 - ->__() adds a prefix and a suffix on untranslated strings if debug is on ok 14 - ->initialize() can change the default prefix and suffix dor untranslated strings # ->getCountry() ok 15 - ->getCountry() returns the name of a country for the current culture ok 16 - ->getCountry() takes an optional culture as its second argument # ->getNativeName() ok 17 - ->getNativeName() returns the name of a culture # ->getTimestampForCulture() ok 18 - ->getTimestampForCulture() returns the timestamp for a data formatted in the current culture ok 19 - ->getTimestampForCulture() returns the timestamp for a data formatted in the current culture ok 20 - ->getTimestampForCulture() can take a culture as its second argument ok 21 - ->getTimestampForCulture() can take a culture as its second argument ok 22 - ->getTimestampForCulture() returns the day, month and year for a data formatted in the current culture # ->getDateForCulture() ok 23 - ->getDateForCulture() returns the day, month and year for a data formatted in the current culture ok 24 - ->getDateForCulture() can take a culture as its second argument ok 25 - ->getDateForCulture() returns null in case of conversion problem ok 26 - ->getDateForCulture() returns null in case of conversion problem ok 27 - ->getDateForCulture() returns the day, month and year for a data formatted in culture with dots as separators ok 28 - ->getDateForCulture() returns null in case of conversion problem with dots as separators # ->getTimeForCulture() ok 29 - ->getTimeForCulture() returns the hour and minuter for a time formatted in the current culture ok 30 - ->getTimeForCulture() can take a culture as its second argument ok 31 - ->getTimeForCulture() returns null in case of conversion problem ok 32 - ->getTimeForCulture() returns null in case of conversion problem ok 33 - ->getTimeForCulture() returns the hour and minuter for a time formatted in culture with dots as separators ok 34 - ->getTimeForCulture() returns null in case of conversion problem with dots as separators # Looks like you failed 1 tests of 34.