FuelPHP â ãè¨å®ãè¨èªè¨å®ããã
æ¥æ¬èªã®è¨å®ãè¡ã
/fuel/app/config/
[config.php]
/**
* Localization & internationalization settings
*/
//Â Â Â 'language' => 'en', // Default language
'language' => 'ja', // Default language
'language_fallback' => 'en', // Fallback language when file isn't available for default language
//Â Â Â 'locale' => 'en_US', // PHP set_locale() setting, null to not set
'locale' => 'ja_JP.utf8', // PHP set_locale() setting, null to not set
/**
* DateTime settings
*
* server_gmt_offset   in seconds the server offset from gmt timestamp when time() is used
* default_timezone    optional, if you want to change the server's default timezone
*/
//Â Â Â 'server_gmt_offset' => 0,
//Â Â Â 'default_timezone' => 'UTC',
'server_gmt_offset' => 3600 * 9,
'default_timezone' => 'Asia/Tokyo',
Â
è¨èªãã¡ã¤ã«ã®ä½æ
/fuel/app/lang/以ä¸ã«"ja"ãã©ã«ããä½æãè¨èªãã¡ã¤ã«ãä½æ
ä¾ï¼validationã¨ã©ã¼ç¨ã®ã¡ãã»ã¼ã¸ãã¡ã¤ã«
[validation.php]
Â
return array(
'required' => ':label æåå',
'min_length' => ':param:1 æåå',
);
Â