Skip to content

WordPress, Git-ified. Synced via SVN every 15 minutes, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit patches to http://core.trac.wordpress.org/ instead.

License

Notifications You must be signed in to change notification settings

dennisenderink/WPolyglot

 
 

Repository files navigation

WPolyglot

What is this project all about?

This projects mission is to make WordPress core multilingual, just by adding a constant in wp-config.php, similar to setting up a multisite installation.

Migrations

Currently these steps need to be done manually, eventually they will be taken over by a set-up wizard.

Table: wp_lang

CREATE TABLE IF NOT EXISTS `wp_lang` (
	`ID` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
	`code` VARCHAR(6) NOT NULL,
	`name` VARCHAR(60) NOT NULL,
	`default` INT(1) NOT NULL DEFAULT  '0',
	`created_at` TIMESTAMP
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ;

Table: wp_posts

ALTER TABLE  `wp_posts` ADD  `lang_ID` INT(11) NOT NULL AFTER  `ID`;

Todo

  • Update permalinks of archives, categories & taxonomies
  • Use correct translation files
  • Create backend interface for post types
  • Create backend interface for custom WPolyglot settings (such as which languages, default language & show comments in current or all language(s))
  • Creating install wizard
  • Force in pretty permalinks when installing
  • Show menu in current language

About

WordPress, Git-ified. Synced via SVN every 15 minutes, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit patches to http://core.trac.wordpress.org/ instead.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 73.4%
  • CSS 14.5%
  • JavaScript 12.1%