jQuery.each( arr, function( i, val ) {
$( "#" + val ).text( "Mine is " + val + "." );
// Will stop running after "three"
return ( val !== "three" );
});
jQuery.each( obj, function( i, val ) {
$( "#" + i ).append( document.createTextNode( " - " + val ) );
});
</script>
All output of the formatter is localized when the PHP intl extension is installed. You can configure the [[yii\i18n\Formatter::locale|locale]] property of the formatter for this. If not configured, the application [[yii\base\Application::language|language]] is used as the locale.
See the section on internationalization for more details. The Formatter will then choose the correct format for dates and numbers according to the locale including names of month and weekdays translated to the current language.
Date formats are also affected by the [[yii\i18n\Formatter::timeZone|timeZone]] which will also be taken from the application [[yii\base\Application::timeZone|timeZone]] if not configured explicitly.
Weight
10g
40g
20g
Color
Blue
Green
Red
You must purchase this product to leave a review.
If you have already purchased it, login to leave a review.