Group: Member
Post Group: Working Newbie
Posts: 50
Status:
|
38 languages are available in the package. Here again it's not so difficult for the softaculous coders to make them available in the install form.
Only 5 things to edit in the geeklog.sql file.
Example for french language (french_france_utf-8);
Before:
Code
users'default language in users table
CREATE TABLE `[[dbprefix]]users`
`language` varchar(64) DEFAULT NULL,
-- Dumping data for table `[[dbprefix]]users`
INSERT INTO `[[dbprefix]]users` VALUES(1, 'Anonymous', NULL, NULL, 'Anonymous', '', NULL, NULL, '', '[[regday]] [[regtime]]', NULL, 0, NULL, NULL, NULL, 3, 0);
INSERT INTO `[[dbprefix]]users` VALUES(2, '[[admin_username]]', NULL, NULL, 'Geeklog SuperUser', '[[admin_pass]]', '[[admin_email]]', '[[softurl]]', '', '[[regday]] [[regtime]]', NULL, 28800, NULL, NULL, NULL, 3, 0);
-- Table structure for table `[[dbprefix]]syndication`
`language` varchar(20) NOT NULL DEFAULT 'en-gb',
-- Dumping data for table `[[dbprefix]]syndication`
INSERT INTO `[[dbprefix]]syndication` VALUES(1, 'article', '::all', 'all', 'RSS-2.0', '10', 1, 'Geeklog Site', 'Another Nifty Geeklog Site', NULL, 'geeklog.rss', 'iso-8859-1', 'en-gb',
After (for french):
Code
users'default language in users table
CREATE TABLE `[[dbprefix]]users`
`language` varchar(64) DEFAULT 'french_france_utf-8',
-- Dumping data for table `[[dbprefix]]users`
INSERT INTO `[[dbprefix]]users` VALUES(1, 'Anonymous', NULL, NULL,
'Anonymous', '', NULL, NULL, '', '[[regday]] [[regtime]]', NULL, 0,
NULL, 'french_france_utf-8', NULL, 3, 0);
INSERT INTO `[[dbprefix]]users` VALUES(2, '[[admin_username]]', NULL,
NULL, 'Geeklog SuperUser', '[[admin_pass]]', '[[admin_email]]',
'[[softurl]]', '', '[[regday]] [[regtime]]', NULL, 28800, NULL, 'french_france_utf-8',
NULL, 3, 0);
-- Table structure for table `[[dbprefix]]syndication`
`language` varchar(20) NOT NULL DEFAULT 'french_france_utf-8',
-- Dumping data for table `[[dbprefix]]syndication`
INSERT INTO `[[dbprefix]]syndication` VALUES(1, 'article', '::all', 'all', 'RSS-2.0', '10', 1, 'Geeklog Site', 'Another Nifty Geeklog Site', NULL, 'geeklog.rss', 'iso-8859-1', 'french_france_utf-8',
In geeklog.rss, language must be changed:
Code
<language>en-gb</language>
to
<language>french_france_utf-8</language>
It could be any language with [[language]] instead.
|