这是针对多语言WordPress插件WPML的技术支持论坛。

任何人都可以阅读,但只有WPML客户可以在这里发帖。 WPML团队每周6天,每天22小时在论坛上进行回复。

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

Related documentation: 字符串翻译

此主题包含6 則回覆,有2 個參與人,最后更新时间是 lungyic 8 月, 1 週前。 指派给此主题的支持人员是luo。

作者 文章
作者 文章
十二月 31, 2016 at 6:16 下午 #1171898

lungyic

I am trying to:

URL of (my) website where problem appears:

I expected to see: japanese in my homepage(ja.pphostel.com)

Instead, I got: nothing

Steps to duplicate the issue:no

一月 2, 2017 at 8:25 上午 #1172205

luo
Forum moderator

lungyic, 你好,

我使用Chrome浏览器打开你说的网址:
http://ja.pphostel.com/
我看到如下错误:
ja.pphostel.com’s server DNS address could not be found.

应该你并未设置子域名ja.pphostel.com解析到你的服务器上,请你联系你的域名服务商和服务器提供商进行相应设置,参考文档:
Configuring Wildcard Subdomains
https://codex.wordpress.org/Configuring_Wildcard_Subdomains

一月 6, 2017 at 2:22 下午 #1176180

lungyic

你好,

我應已設置好ja.pphostel.com
仍然無效,麻煩幫我一下,謝謝

一月 9, 2017 at 8:44 上午 #1177078

luo
Forum moderator

请你尝试如下操作:
1) 禁用掉其他插件,并切换到wordpress默认主题2017
2) 按照我们的文档对WPML设置:
How to use WPML with different domains per language
https://wpml.org/2016/04/use-wpml-different-domains-per-language/

一月 10, 2017 at 12:25 下午 #1178463

lungyic

HELLO,

Please see attached file.
I cannot add Japanese to my home page & I scanned strings needs to be translated but nothing went out.

Here is my debug info.

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/pphostel.com","HomeURL":"http:\/\/pphostel.com","Version":"4.6.1","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, portfolio, staff, testimonial, slide, faq, vc_grid_item, mts_notification_bar, mc4wp-form","PostStatus":"publish, future, draft, pending, private, trash, auto-draft, inherit"},"Server":{"jQueryVersion":"1.12.4","PHPVersion":"5.5.38","MySQLVersion":"5.6.33","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"512M","WP Memory Limit":"40M","UploadMax":"256M","PostMax":"512M","TimeLimit":"300","MaxInputVars":"10000","MBString":true,"libxml":true}},"plugins":{"active_plugins":{"LayerSlider\/layerslider.php":{"Plugin Slug":"","Name":"LayerSlider WP","PluginURI":"http:\/\/codecanyon.net\/user\/kreatura\/","Version":"5.6.9","Author":"Kreatura Media","AuthorURI":"https:\/\/kreaturamedia.com\/","TextDomain":"LayerSlider","DomainPath":"","Network":false,"Title":"LayerSlider WP","AuthorName":"Kreatura Media"},"all-in-one-wp-migration\/all-in-one-wp-migration.php":{"Plugin Slug":"","Name":"All-in-One WP Migration","PluginURI":"https:\/\/servmask.com\/","Version":"5.56","Author":"ServMask","AuthorURI":"https:\/\/servmask.com\/","TextDomain":"all-in-one-wp-migration","DomainPath":"\/languages","Network":true,"Title":"All-in-One WP Migration","AuthorName":"ServMask"},"amp\/amp.php":{"Plugin Slug":"","Name":"AMP","PluginURI":"https:\/\/github.com\/automattic\/amp-wp","Version":"0.3.3","Author":"Automattic","AuthorURI":"https:\/\/automattic.com","TextDomain":"amp","DomainPath":"\/languages\/","Network":false,"Title":"AMP","AuthorName":"Automattic"},"comments-from-facebook\/facebook-comment.php":{"Plugin Slug":"","Name":"Wpdevart Facebook comments","PluginURI":"http:\/\/wpdevart.com\/wordpress-facebook-comments-plugin\/","Version":"1.5.5","Author":"wpdevart","AuthorURI":"","TextDomain":"comments-from-facebook","DomainPath":"","Network":false,"Title":"Wpdevart Facebook comments","AuthorName":"wpdevart"},"easy-facebook-likebox\/easy-facebook-likebox.php":{"Plugin Slug":"","Name":"Easy Facebook Likebox","PluginURI":"httt:\/\/wordpress.org\/plugins\/easy-facebook-likebox","Version":"4.3.0","Author":"Sajid Javed","AuthorURI":"http:\/\/jwebsol.com","TextDomain":"easy-facebook-likebox","DomainPath":"\/languages","Network":false,"Title":"Easy Facebook Likebox","AuthorName":"Sajid Javed"},"envato-wordpress-toolkit-master\/index.php":{"Plugin Slug":"","Name":"Envato WordPress Toolkit","PluginURI":"https:\/\/github.com\/envato\/envato-wordpress-toolkit","Version":"1.7.3","Author":"Envato","AuthorURI":"http:\/\/envato.com","TextDomain":"envato-wordpress-toolkit-master","DomainPath":"","Network":false,"Title":"Envato WordPress Toolkit","AuthorName":"Envato"},"google-analytics-for-wordpress\/googleanalytics.php":{"Plugin Slug":"","Name":"Google Analytics by MonsterInsights","PluginURI":"https:\/\/www.monsterinsights.com\/pricing\/#utm_source=wordpress\u0026utm_medium=plugin\u0026utm_campaign=wpgaplugin\u0026utm_content=v504","Version":"5.5.2","Author":"MonsterInsights","AuthorURI":"https:\/\/www.monsterinsights.com\/","TextDomain":"google-analytics-for-wordpress","DomainPath":"\/languages","Network":false,"Title":"Google Analytics by MonsterInsights","AuthorName":"MonsterInsights"},"js_composer\/js_composer.php":{"Plugin Slug":"","Name":"WPBakery Visual Composer","PluginURI":"http:\/\/vc.wpbakery.com","Version":"4.12","Author":"Michael M - WPBakery.com","AuthorURI":"http:\/\/wpbakery.com","TextDomain":"js_composer","DomainPath":"","Network":false,"Title":"WPBakery Visual Composer","AuthorName":"Michael M - WPBakery.com"},"lazy-load\/lazy-load.php":{"Plugin Slug":"","Name":"Lazy Load","PluginURI":"","Version":"0.6.1","Author":"","AuthorURI":"","TextDomain":"lazy-load","DomainPath":"","Network":false,"Title":"Lazy Load","AuthorName":""},"mailchimp-for-wp\/mailchimp-for-wp.php":{"Plugin Slug":"","Name":"MailChimp for WordPress","PluginURI":"https:\/\/mc4wp.com\/#utm_source=wp-plugin\u0026utm_medium=mailchimp-for-wp\u0026utm_campaign=plugins-page","Version":"4.0.3","Author":"ibericode","AuthorURI":"https:\/\/ibericode.com\/","TextDomain":"mailchimp-for-wp","DomainPath":"\/languages","Network":false,"Title":"MailChimp for WordPress","AuthorName":"ibericode"},"revslider\/revslider.php":{"Plugin Slug":"","Name":"Slider Revolution","PluginURI":"http:\/\/revolution.themepunch.com\/","Version":"5.2.6","Author":"ThemePunch","AuthorURI":"http:\/\/themepunch.com","TextDomain":"revslider","DomainPath":"","Network":false,"Title":"Slider Revolution","AuthorName":"ThemePunch"},"sitepress-multilingual-cms\/sitepress.php":{"Plugin Slug":"sitepress-multilingual-cms","Name":"WPML Multilingual CMS","PluginURI":"https:\/\/wpml.org\/","Version":"3.6.2","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"sitepress-multilingual-cms","DomainPath":"","Network":false,"Title":"WPML Multilingual CMS","AuthorName":"OnTheGoSystems"},"tiny-compress-images\/tiny-compress-images.php":{"Plugin Slug":"","Name":"Compress JPEG \u0026 PNG images","PluginURI":"","Version":"2.1.0","Author":"TinyPNG","AuthorURI":"https:\/\/tinypng.com","TextDomain":"tiny-compress-images","DomainPath":"","Network":false,"Title":"Compress JPEG \u0026 PNG images","AuthorName":"TinyPNG"},"user-avatar\/user-avatar.php":{"Plugin Slug":"","Name":"User Avatar","PluginURI":"http:\/\/wordpress.org\/extend\/plugins\/user-avatar\/","Version":"1.4.11","Author":"Enej Bajgoric \/ Gagan Sandhu \/ CTLT DEV","AuthorURI":"","TextDomain":"user-avatar","DomainPath":"","Network":false,"Title":"User Avatar","AuthorName":"Enej Bajgoric \/ Gagan Sandhu \/ CTLT DEV"},"wordpress-seo\/wp-seo.php":{"Plugin Slug":"","Name":"Yoast SEO","PluginURI":"https:\/\/yoast.com\/wordpress\/plugins\/seo\/#utm_source=wpadmin\u0026utm_medium=plugin\u0026utm_campaign=wpseoplugin","Version":"3.5","Author":"Team Yoast","AuthorURI":"https:\/\/yoast.com\/","TextDomain":"wordpress-seo","DomainPath":"\/languages\/","Network":false,"Title":"Yoast SEO","AuthorName":"Team Yoast"},"wp-fastest-cache\/wpFastestCache.php":{"Plugin Slug":"","Name":"WP Fastest Cache","PluginURI":"http:\/\/wordpress.org\/plugins\/wp-fastest-cache\/","Version":"0.8.6.2","Author":"Emre Vona","AuthorURI":"http:\/\/tr.linkedin.com\/in\/emrevona","TextDomain":"wp-fastest-cache","DomainPath":"\/languages\/","Network":false,"Title":"WP Fastest Cache","AuthorName":"Emre Vona"},"wp-notification-bars\/wp-notification-bars.php":{"Plugin Slug":"","Name":"WP Notification Bars","PluginURI":"https:\/\/mythemeshop.com\/plugins\/wp-notification-bars\/","Version":"1.0.1","Author":"MyThemeShop","AuthorURI":"https:\/\/mythemeshop.com\/","TextDomain":"wp-notification-bars","DomainPath":"\/languages","Network":false,"Title":"WP Notification Bars","AuthorName":"MyThemeShop"},"wp-retina-2x\/wp-retina-2x.php":{"Plugin Slug":"","Name":"WP Retina 2x","PluginURI":"http:\/\/apps.meow.fr","Version":"4.5.5","Author":"Jordy Meow","AuthorURI":"http:\/\/apps.meow.fr","TextDomain":"wp-retina-2x","DomainPath":"\/languages","Network":false,"Title":"WP Retina 2x","AuthorName":"Jordy Meow"},"wpclef\/wpclef.php":{"Plugin Slug":"","Name":"Clef","PluginURI":"http:\/\/wordpress.org\/extend\/plugins\/wpclef","Version":"2.6.1","Author":"Clef","AuthorURI":"https:\/\/getclef.com","TextDomain":"wpclef","DomainPath":"","Network":false,"Title":"Clef","AuthorName":"Clef"},"wpml-string-translation\/plugin.php":{"Plugin Slug":"wpml-string-translation","Name":"WPML String Translation","PluginURI":"https:\/\/wpml.org\/","Version":"2.5.1","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-string-translation","DomainPath":"","Network":false,"Title":"WPML String Translation","AuthorName":"OnTheGoSystems"},"wpml-translation-management\/plugin.php":{"Plugin Slug":"wpml-translation-management","Name":"WPML Translation Management","PluginURI":"https:\/\/wpml.org\/","Version":"2.2.6","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-translation-management","DomainPath":"","Network":false,"Title":"WPML Translation Management","AuthorName":"OnTheGoSystems"}},"mu_plugins":[],"dropins":{"advanced-cache.php":{"Plugin Slug":"","Name":"advanced-cache.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"Title":"","AuthorName":""}}},"theme":{"Name":"Specular","ThemeURI":false,"Author":"Codeless","AuthorURI":"http:\/\/www.codeless.co","Template":"","Version":"2.1","TextDomain":"","DomainPath":""},"extra-debug":{"WMPL":{"icl_capabilities_verified":true,"interview_translators":1,"existing_content_language_verified":1,"language_negotiation_type":"2","theme_localization_type":1,"icl_lso_header":0,"icl_lso_link_empty":0,"icl_lso_flags":0,"icl_lso_native_lang":1,"icl_lso_display_lang":1,"sync_page_ordering":1,"sync_page_parent":1,"sync_page_template":1,"sync_ping_status":1,"sync_comment_status":1,"sync_sticky_flag":1,"sync_private_flag":1,"sync_post_format":1,"sync_delete":0,"sync_delete_tax":0,"sync_post_taxonomies":1,"sync_post_date":0,"sync_taxonomy_parents":0,"translation_pickup_method":0,"notify_complete":1,"translated_document_status":1,"remote_management":0,"auto_adjust_ids":1,"alert_delay":0,"promote_wpml":0,"troubleshooting_options":{"http_communication":1},"automatic_redirect":0,"remember_language":24,"icl_lang_sel_type":"dropdown","icl_lang_sel_stype":"classic","icl_lang_sel_orientation":"vertical","icl_lang_sel_copy_parameters":"","icl_widget_title_show":1,"translated_document_page_url":"auto-generate","sync_comments_on_duplicates ":0,"seo":{"head_langs":1,"canonicalization_duplicates":1,"head_langs_priority":1},"posts_slug_translation":{"on":0,"string_name_migrated":true},"languages_order":["zh-hant","ja"],"urls":{"directory_for_default_language":0,"show_on_root":"","root_html_file_path":"","root_page":0,"hide_language_switchers":1},"active_languages":["ja","zh-hant"],"sync_password":1,"xdomain_data":"1","admin_default_language":"_default_","taxonomy_names_checked":true,"xliff_newlines":1,"tm_xliff_version":"12","st":{"sw":[],"WPML_ST_Upgrade_Migrate_Originals_has_run":true,"WPML_ST_Upgrade_Display_Strings_Scan_Notices_has_run":true,"strings_per_page":10,"icl_st_auto_reg":"disable","strings_language":"en","translated-users":[],"auto_download_mo":0,"use_header_text_domains_when_missing":0,"theme_localization_domains":["codeless","taxonomy general name","taxonomy singular name","codeless-admin","redux-framework-demo","WordPress","envato","default","js_composer","wp_twitter_api","tgmpa","_s","redux-framework","wordpress-importer","themecheck","woocommerce"]},"setup_complete":1,"ajx_health_checked":true,"default_categories":{"zh-hant":"1","ja":6},"default_language":"zh-hant","setup_wizard_step":4,"admin_text_3_2_migration_complete_40cd750bba9870f18aada2478b24840a":true,"admin_text_3_2_migration_complete_1a7796800257bb48f80e94f7dfcdbfa8":true,"translation-management":{"notification":{"new-job":1,"completed":1,"resigned":1,"dashboard":true,"purge-old":7},"custom_fields_translation":{"text_subscribed":2,"text_error":2,"text_invalid_email":2,"text_already_subscribed":2,"text_required_field_missing":2,"text_unsubscribed":2,"text_not_subscribed":2,"title":2,"description":2,"keywords":2,"_edit_last":0,"_edit_lock":0,"_wp_page_template":0,"_wp_attachment_metadata":0,"original_post_id":0,"_wpml_original_post_id":0,"_wp_old_slug":0,"_icl_translator_note":0,"_alp_processed":0,"_pingme":0,"_encloseme":0,"_icl_lang_duplicate_of":0,"_thumbnail_id":0,"_wp_attached_file":0,"_yoast_wpseo_title":2,"_yoast_wpseo_bctitle":2,"_yoast_wpseo_metadesc":2,"_yoast_wpseo_metakeywords":2,"_yoast_wpseo_focuskw":2,"_yoast_wpseo_meta-robots-noindex":1,"_yoast_wpseo_meta-robots-nofollow":1,"_yoast_wpseo_meta-robots-adv":1,"_yoast_wpseo_canonical":0,"_yoast_wpseo_redirect":0,"_yoast_wpseo_opengraph-description":2,"_yoast_wpseo_google-plus-description":2,"_yoast_wpseo_twitter-title":2,"_yoast_wpseo_twitter-description":2,"cl_redata":2},"custom_fields_readonly_config":{"0":"text_subscribed","1":"text_error","2":"text_invalid_email","3":"text_already_subscribed","4":"text_required_field_missing","5":"text_unsubscribed","6":"text_not_subscribed","8":"title","9":"description","10":"keywords","11":"_edit_last","12":"_edit_lock","13":"_wp_page_template","14":"_wp_attachment_metadata","15":"original_post_id","16":"_wpml_original_post_id","17":"_wp_old_slug","18":"_icl_translator_note","19":"_alp_processed","20":"_pingme","21":"_encloseme","22":"_icl_lang_duplicate_of","23":"_thumbnail_id","24":"_wp_attached_file","25":"_yoast_wpseo_title","26":"_yoast_wpseo_bctitle","27":"_yoast_wpseo_metadesc","28":"_yoast_wpseo_metakeywords","29":"_yoast_wpseo_focuskw","30":"_yoast_wpseo_meta-robots-noindex","31":"_yoast_wpseo_meta-robots-nofollow","32":"_yoast_wpseo_meta-robots-adv","33":"_yoast_wpseo_canonical","34":"_yoast_wpseo_redirect","35":"_yoast_wpseo_opengraph-description","36":"_yoast_wpseo_google-plus-description","37":"_yoast_wpseo_twitter-title","38":"_yoast_wpseo_twitter-description","39":"cl_redata"},"custom_fields_translation_custom":[],"custom_fields_translation_custom_readonly":[],"doc_translation_method":1,"__custom_types_readonly_config_prev":[],"custom_types_readonly_config":[],"__custom_fields_readonly_config_prev":{"0":"text_subscribed","1":"text_error","2":"text_invalid_email","3":"text_already_subscribed","4":"text_required_field_missing","5":"text_unsubscribed","6":"text_not_subscribed","8":"title","9":"description","10":"keywords","11":"_edit_last","12":"_edit_lock","13":"_wp_page_template","14":"_wp_attachment_metadata","15":"original_post_id","16":"_wpml_original_post_id","17":"_wp_old_slug","18":"_icl_translator_note","19":"_alp_processed","20":"_pingme","21":"_encloseme","22":"_icl_lang_duplicate_of","23":"_thumbnail_id","24":"_wp_attached_file","25":"_yoast_wpseo_title","26":"_yoast_wpseo_bctitle","27":"_yoast_wpseo_metadesc","28":"_yoast_wpseo_metakeywords","29":"_yoast_wpseo_focuskw","30":"_yoast_wpseo_meta-robots-noindex","31":"_yoast_wpseo_meta-robots-nofollow","32":"_yoast_wpseo_meta-robots-adv","33":"_yoast_wpseo_canonical","34":"_yoast_wpseo_redirect","35":"_yoast_wpseo_opengraph-description","36":"_yoast_wpseo_google-plus-description","37":"_yoast_wpseo_twitter-title","38":"_yoast_wpseo_twitter-description","39":"cl_redata"},"__custom_term_fields_readonly_config_prev":[],"custom_term_fields_readonly_config":[],"taxonomies_readonly_config":{"portfolio_entries":1,"faq_entries":1,"slider":0,"staff_entries":1,"testimonial_entries":1},"custom-types_readonly_config":{"mc4wp-form":1,"slide":0,"faq":1,"staff":1,"testimonial":1,"portfolio":1}},"custom_posts_sync_option":{"ig_message":1,"ig_campaign":0,"mc4wp-form":1,"slide":0,"faq":1,"staff":1,"testimonial":1,"portfolio":1},"taxonomies_sync_option":{"portfolio_entries":1,"faq_entries":1,"slider":0,"staff_entries":1,"testimonial_entries":1},"custom-types_sync_option":{"ig_message":1,"ig_campaign":0,"mc4wp-form":1,"slide":0,"faq":1,"staff":1,"testimonial":1,"portfolio":1},"language_selector_initialized":1,"site_key":"kW7FCM3Pxw","site_does_not_use_icl":true,"doc_translation_method":1,"hide_upgrade_notice":"3.6.2","theme_localization_load_textdomain":0,"gettext_theme_domain_name":"","default_translators":{"zh-hant":{"ja":{"id":1,"type":"local"}}},"language_domains":{"ja":"ja.pphostel.com"},"language_per_domain_sso_enabled":true}}}

一月 11, 2017 at 9:08 上午 #1179242

luo
Forum moderator

I cannot add Japanese to my home page & I scanned strings needs to be translated but nothing went out.
这应该是一个新的问题。
请问你上面提到的问题:subdomain(ja.pphostel.com)不成功, 是否已经解决?如果已经解决,请为新的问题开一个新帖,这样可以方便其他用户找到对应答案,谢谢!

一月 13, 2017 at 2:21 上午 #1181207

lungyic

已解決,謝謝

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.