我使用composer在ubuntu服务器上自动部署wordpress。此外,我需要安装德语语言包。我了解到有些人是从wordpress创建作曲家软件包的。组织文件。使用以下生成器。json我使用德语语言包获得wordpress:
{
"repositories": [{
"type": "composer",
"url": "https://wp-languages.github.io"
}],
"require": {
"johnpbloch/wordpress": "4.6",
"koodimonni-language/core-de_de": "*"
},
"extra": {
"wordpress-install-dir": "wp",
"dropin-paths": {
"wp/wp-content/languages": ["vendor:koodimonni-language"],
"wp/wp-content/languages/plugins/": ["vendor:koodimonni-plugin-language"],
"wp/wp-content/languages/themes/": ["vendor:koodimonni-theme-language"]
}
}
}
问题是,wordpress本身仍然是英文的。是否可以将其自动设置为德语,这样我就不必为adminpanel中的每个站点手动执行此操作?