Locale Archives | phpGrid - PHP Datagrid Create PHP grids in minutes, not hours. Fri, 06 Dec 2024 04:20:27 +0000 en-US hourly 1 CodeProjecthttps://wordpress.org/?v=7.0.3 129966043 Locale Setting https://phpgrid.com/example/locale-setting/ Tue, 29 Mar 2011 18:19:45 +0000 http://phpgrid.com/?p=1314 If you are using phpGrid in a language rather English, you may want the datagrid to display appropriate system text used by phpGrid such as “Submit”, “Next”, “Page”, “Find” etc. The language locale files are located in js\src\i18n directory.         12345require_once("/file/path/to/conf.php");   $dg = new phpCtrl\C_DataGrid("SELECT * FROM orders", "orderNumber", "orders"); $dg->set_locale('fr'); […]

The post Locale Setting appeared first on phpGrid - PHP Datagrid.

]]>
If you are using phpGrid in a language rather English, you may want the datagrid to display appropriate system text used by phpGrid such as “Submit”, “Next”, “Page”, “Find” etc. The language locale files are located in js\src\i18n directory.

 
 
phpGrid Comprehensive Locale Support
 
 

1
2
3
4
5
require_once("/file/path/to/conf.php");  

$dg = new phpCtrl\C_DataGrid("SELECT * FROM orders", "orderNumber", "orders");
$dg->set_locale('fr');        
$dg -> display();

See Live Example!

The post Locale Setting appeared first on phpGrid - PHP Datagrid.

]]>
1314