Skip to content

Instantly share code, notes, and snippets.

@franz-josef-kaiser
Created January 15, 2015 19:20
Show Gist options
  • Select an option

  • Save franz-josef-kaiser/165146c1bb0942a8913d to your computer and use it in GitHub Desktop.

Select an option

Save franz-josef-kaiser/165146c1bb0942a8913d to your computer and use it in GitHub Desktop.
Load wordpress.org SVN repository l18n tools via Composer
{
"require-dev" : {
"wporg/i18n" : "~4.1"
},
"repositories": [
{
"type" : "package",
"package" : {
"name" : "wporg/i18n",
"version" : "4.1",
"source" : {
"url" : "http://develop.svn.wordpress.org",
"reference" : "tags/4.1/tools/i18n/",
"package-path" : "tools/i18n/",
"trunk-path" : "trunk",
"branches-path" : "branches",
"tags-path" : "tags",
"type" : "svn"
},
"autoload" : {
"classmap" : [ "" ]
}
}
}
]
}
@franz-josef-kaiser

Copy link
Copy Markdown
Author
  1. You will have to fill in the blanks. This is just the 18n tools part
  2. The version part doesn't seem to work smoothly. Therefore hard coded version number in reference
  3. It won't work as some moron hard coded absolute path in the tools. Wrapped dirname() and such...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment