Closed Bug 547508 Opened 16 years ago Closed 16 years ago

svn export official wordpress translations to opentochoice.stage.mozilla.com's wp-includes/languages

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stas, Assigned: phong)

Details

Please cd into opentochoice.stage.mozilla.com's Wordpress directory (I think that's /data/www/opentochoice.stage.mozilla.com/trunk/) and run the import-po.sh script found in there (you might need to svn up) with the following arguments: ./import-po.sh fr_FR de_DE it_IT es_ES sq bs_BA cs_CZ el pl_PL This will pull the official Wordpress localization files from http://svn.automattic.com/wordpress-i18n/ into wp-includes/languages for these 9 locales. Thanks!
Assignee: server-ops → phong
[root@mrapp-stage02 trunk]# svn up ./import-po.sh fr_FR de_DE it_IT es_ES sq bs_BA cs_CZ el pl_PL At revision 13277. At revision 13277. At revision 13277. At revision 13277. At revision 13277. At revision 13277. At revision 13277. At revision 13277. At revision 13277. At revision 13277.
Thanks Phong. But, should there be a semi-colon between svn up and ./import-po.sh? svn up ; ./import-po.sh fr_FR de_DE it_IT es_ES sq bs_BA cs_CZ el pl_PL
[root@mrapp-stage02 trunk]# svn up ; ./import-po.sh fr_FR de_DE it_IT es_ES sq bs_BA cs_CZ el pl_PL U wp-comments-post.php U wp-login.php U wp-includes/post-template.php U wp-includes/taxonomy.php U wp-includes/ms-files.php U wp-includes/template-loader.php A wp-includes/class-http.php U wp-includes/pomo/mo.php U wp-includes/pomo/po.php U wp-includes/pomo/streams.php U wp-includes/pomo/entry.php U wp-includes/pomo/translations.php U wp-includes/post.php U wp-includes/version.php U wp-includes/js/jquery/ui.core.js U wp-includes/js/jquery/ui.tabs.js U wp-includes/js/jquery/ui.dialog.js A wp-includes/js/jquery/autocomplete.dev.js U wp-includes/js/jquery/ui.draggable.js U wp-includes/js/jquery/ui.droppable.js U wp-includes/js/jquery/ui.sortable.js U wp-includes/js/jquery/ui.resizable.js A wp-includes/js/jquery/autocomplete.js U wp-includes/default-widgets.php A wp-includes/pluggable-deprecated.php U wp-includes/comment.php U wp-includes/theme.php A wp-includes/custom-navigation.php U wp-includes/functions.php U wp-includes/comment-template.php U wp-includes/user.php U wp-includes/load.php U wp-includes/ms-blogs.php U wp-includes/link-template.php U wp-includes/wp-db.php U wp-includes/formatting.php U wp-includes/general-template.php U wp-includes/canonical.php U wp-includes/capabilities.php U wp-includes/ms-load.php U wp-includes/class-oembed.php U wp-includes/Text/Diff/Engine/xdiff.php U wp-includes/Text/Diff/Engine/native.php U wp-includes/Text/Diff/Engine/string.php U wp-includes/Text/Diff/Engine/shell.php U wp-includes/Text/Diff/Renderer/inline.php U wp-includes/Text/Diff/Renderer.php U wp-includes/Text/Diff.php U wp-includes/deprecated.php U wp-includes/pluggable.php U wp-includes/rss.php U wp-includes/script-loader.php U wp-includes/ms-default-constants.php U wp-includes/ms-settings.php U wp-includes/http.php U wp-includes/ms-functions.php U wp-includes/category-template.php U xmlrpc.php U wp-content/themes/twentyten/functions.php U wp-content/themes/twentyten/onecolumn-page.php UU wp-content/themes/twentyten/loop.php U wp-content/themes/twentyten/category.php U wp-content/blogs.php U wp-settings.php U wp-admin/ms-edit.php U wp-admin/edit-comments.php U wp-admin/includes/plugin.php U wp-admin/includes/file.php U wp-admin/includes/update.php U wp-admin/includes/post.php U wp-admin/includes/htaccess.ms U wp-admin/includes/dashboard.php U wp-admin/includes/upgrade.php U wp-admin/includes/schema.php U wp-admin/includes/theme.php U wp-admin/includes/meta-boxes.php U wp-admin/includes/theme-install.php U wp-admin/includes/widgets.php U wp-admin/includes/template.php U wp-admin/includes/user.php U wp-admin/includes/ms.php U wp-admin/includes/media.php UU wp-admin/includes/wp-config.ms U wp-admin/includes/image.php U wp-admin/edit-tags.php U wp-admin/post.php A wp-admin/js/custom-navigation-dynamic-functions.dev.js A wp-admin/js/custom-navigation-default-items.js A wp-admin/js/custom-navigation-php-functions.js A wp-admin/js/custom-navigation-default-items.dev.js A wp-admin/js/custom-navigation-dynamic-functions.js U wp-admin/js/tags.dev.js A wp-admin/js/custom-navigation-php-functions.dev.js U wp-admin/revision.php U wp-admin/comment.php U wp-admin/edit-attachment-rows.php A wp-admin/custom-navigation.php U wp-admin/import/livejournal.php U wp-admin/edit-form-advanced.php U wp-admin/menu.php U wp-admin/admin-header.php A wp-admin/images/ico-edit.png A wp-admin/images/ico-close.png A wp-admin/images/ico-arrow.png A wp-admin/images/ico-add.png A wp-admin/images/ico-viewpage.png U wp-admin/plugins.php U wp-admin/edit.php U wp-admin/upgrade.php U wp-admin/press-this.php U wp-admin/user-edit.php U wp-admin/css/wp-admin-rtl.dev.css A wp-admin/css/media-rtl.dev.css U wp-admin/css/ie.css U wp-admin/css/global-rtl.css U wp-admin/css/plugin-install-rtl.css U wp-admin/css/login-rtl.css A wp-admin/css/custom-navigation.css A wp-admin/css/ie.dev.css A wp-admin/css/global-rtl.dev.css A wp-admin/css/plugin-install-rtl.dev.css A wp-admin/css/login-rtl.dev.css A wp-admin/css/custom-navigation.dev.css U wp-admin/css/theme-editor-rtl.css U wp-admin/css/dashboard-rtl.css U wp-admin/css/ie-rtl.css U wp-admin/css/press-this-rtl.css A wp-admin/css/theme-editor-rtl.dev.css A wp-admin/css/dashboard-rtl.dev.css U wp-admin/css/install-rtl.css U wp-admin/css/widgets-rtl.css A wp-admin/css/ie-rtl.dev.css U wp-admin/css/wp-admin-rtl.css A wp-admin/css/press-this-rtl.dev.css U wp-admin/css/media-rtl.css A wp-admin/css/install-rtl.dev.css A wp-admin/css/widgets-rtl.dev.css U wp-admin/setup-config.php U wp-admin/install.php U wp-admin/widgets.php U wp-admin/update-core.php U wp-admin/maint/repair.php Fetching external item into 'wp-content/plugins/akismet' Updated external to revision 208516. Updated to revision 13277. -bash: ./import-po.sh: No such file or directory
(In reply to comment #3) > -bash: ./import-po.sh: No such file or directory I think I know what's going on. trunk must be a working copy of some wordpress repo, and trunk/wp-content is a working copy of our /projects/choice/trunk/wp-content. So you svn upped from the wordpress repo, and not from the ours, where my script was. Could you please go to /data/www/opentochoice.stage.mozilla.com/trunk/ and run: svn export http://svn.mozilla.org/projects/choice/trunk/import-po.sh ./import-po.sh
[root@mrapp-stage02 trunk]# svn up ; ./import-po.sh fr_FR de_DE it_IT es_ES sq bs_BA cs_CZ el pl_PL Fetching external item into 'wp-content/plugins/akismet' External at revision 208516. At revision 13277. Created wp-includes/languages. Trying to import fr_FR.mo from trunk. fr_FR.mo was not found on trunk. Trying fr_FR.po. Trying to import fr_FR.po from trunk. fr_FR.po was not found on trunk. Trying an older branch. Trying to import fr_FR.mo from tags/2.9. A wp-includes/languages/fr_FR.mo Export complete. Imported fr_FR.mo from tags/2.9. Trying to import de_DE.mo from trunk. A wp-includes/languages/de_DE.mo Export complete. Imported de_DE.mo from trunk. Trying to import it_IT.mo from trunk. A wp-includes/languages/it_IT.mo Export complete. Imported it_IT.mo from trunk. Trying to import es_ES.mo from trunk. A wp-includes/languages/es_ES.mo Export complete. Imported es_ES.mo from trunk. Trying to import sq.mo from trunk. A wp-includes/languages/sq.mo Export complete. Imported sq.mo from trunk. Trying to import bs_BA.mo from trunk. A wp-includes/languages/bs_BA.mo Export complete. Imported bs_BA.mo from trunk. Trying to import cs_CZ.mo from trunk. A wp-includes/languages/cs_CZ.mo Export complete. Imported cs_CZ.mo from trunk. Trying to import el.mo from trunk. A wp-includes/languages/el.mo Export complete. Imported el.mo from trunk. Trying to import pl_PL.mo from trunk. pl_PL.mo was not found on trunk. Trying pl_PL.po. Trying to import pl_PL.po from trunk. A wp-includes/languages/pl_PL.po Export complete. Compiling pl_PL.po to pl_PL.mo ... wp-includes/languages/pl_PL.po:537: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:537:8: parse error wp-includes/languages/pl_PL.po:970: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:970:8: parse error wp-includes/languages/pl_PL.po:979: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:979:8: parse error wp-includes/languages/pl_PL.po:988: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:988:8: parse error wp-includes/languages/pl_PL.po:1084: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:1084:8: parse error wp-includes/languages/pl_PL.po:1448: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:1448:8: parse error wp-includes/languages/pl_PL.po:1449: duplicate message definition wp-includes/languages/pl_PL.po:1102: ...this is the location of the first definition wp-includes/languages/pl_PL.po:1454: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:1454:8: parse error wp-includes/languages/pl_PL.po:1462: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:1462:8: parse error wp-includes/languages/pl_PL.po:1751: keyword "msgctxt" unknown wp-includes/languages/pl_PL.po:1751:8: parse error wp-includes/languages/pl_PL.po:1758: keyword "msgctxt" unknown msgfmt: too many errors, aborting done. Trying to import pl_PL.mo from tags/2.9. A wp-includes/languages/pl_PL.mo Export complete. Imported pl_PL.mo from tags/2.9. All done. [root@mrapp-stage02 trunk]#
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
"All done" :)
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.