Tagged: cornerstone
-
AuthorPosts
-
July 11, 2016 at 1:51 am #1080907
Hi, I’ve downloaded the Cornerstone POT file and started translating using Poedit.
I then uploaded (cornerstone zh_TW.po & cornerstone zh_TW.mo) to:public_html/wp-content/languages/plugins
&
public_html/wp-content/languages
&
public_html/wp-content/plugins/cornerstone/langbut the translations are not working.
Finally i uploaded the PO file through WPML (upload PO file) and i now can see my translated strings in the WPML backend.
Unfortunately the cornerstone builder is still not displaying the translated language.
I’m not sure what i’ve missed.I’ve also translated Rev slider using the same method and the translations are working great.
( my theme, plugins etc… are all up to date)
http://taichan.sjcorpwebdesign.com/attached is current PO file
Please note i haven’t translated everything yet.
The text : (Edit with Cornerstone) has been translated but is not showing.July 11, 2016 at 1:55 am #1080915Hmm attach file is not permitted, here is the beginning of the file:
# Copyright (C) 2016 Cornerstone
# This file is distributed under the same license as the Cornerstone package.
msgid “”
msgstr “”
“Project-Id-Version: Cornerstone 1.2.3-beta1\n”
“Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/cornerstone\n”
“POT-Creation-Date: 2016-07-01 10:32+0800\n”
“PO-Revision-Date: 2016-07-11 10:46+0800\n”
“Last-Translator: \n”
“Language-Team: \n”
“Language: zh_TW\n”
“MIME-Version: 1.0\n”
“Content-Type: text/plain; charset=UTF-8\n”
“Content-Transfer-Encoding: 8bit\n”
“X-Generator: Poedit 1.8.8\n”
“Plural-Forms: nplurals=1; plural=0;\n”
“X-Poedit-SourceCharset: UTF-8\n”
“X-Generator: Poedit 1.8.8\n”
“X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;__:1;_e:1;_c:1;”
“_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;_x:1,2c;_ex:1,2c;_nx:1,2,4c;”
“_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;esc_attr__:1;esc_html__:1;esc_attr_e:1;”
“esc_html_e:1;esc_attr_x:1,2c;esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;”
“transChoice:1,2\n”
“X-Textdomain-Support: yes\n”
“X-Loco-Target-Locale: zh_TW\n”
“X-Poedit-SearchPath-0: .\n”#: includes/classes/admin/class-admin.php:118 includes/views/admin/settings-sidebar.php:10
msgid “Update”
msgstr “更新”#: includes/classes/admin/class-admin.php:119
msgid “Updating…”
msgstr “更新…”#: includes/classes/admin/class-admin.php:120
msgid “Settings Saved!”
msgstr “設定已存檔”#: includes/classes/admin/class-admin.php:121
msgid “Sorry! Unable to Save”
msgstr “抱歉!無法存檔”#: includes/classes/admin/class-admin.php:174
msgid “Home”
msgstr “首頁”July 11, 2016 at 2:01 am #1080923This reply has been marked as private.July 11, 2016 at 2:06 am #1080926Ok things got a little stranger,
When i create a new page/post and select original language as chinese, then Cornerstone translations appear (Ex: create with Cornerstone, Display, etc…
When i create a new page/post in English, Cornerstone remains in English
Previously created pages: when editing english, cornerstone is in English, when editing Chinese, Chinese version works.
Please bear in mind that my user profile is set to Chinese.
July 11, 2016 at 3:00 am #1080976Hi there,
Cornerstone translation depends on currently active language, and it’s more on admin dependent. It’s only loading in front, but resources are loaded as admin, so mixed of both front and back. What you’re getting is just normal.
Would you mind providing your FTP login credentials as well?
Thanks!
July 11, 2016 at 9:00 pm #1082502This reply has been marked as private.July 11, 2016 at 9:06 pm #1082506What i’m hoping for is when my client signs in, the cornerstone builder (controls, elements, Text, admin etc) are all in his language. (Chinese)
Regardless if he is creating/editing an English page or Chinese Page.
Revolution slider for example: whether my slider is in Chinese or English the admin is always in Chinese.
I assumed this was possible with cornerstone as well.
July 13, 2016 at 12:41 am #1084289Did you get my FTP login credentials ?
Any update?July 13, 2016 at 4:38 pm #1085698Hi there,
It works that way since there is a slider dedicated for Chinese or English. If you click Slider5 on admin bar it will then goes to slider editing in English. And if you click Homepage Chinese in the admin bar, then it will go to slider editing in Chinese. It’s not related to translation since you didn’t translate, you only assigned dedicated slider per page that represent the language.
Translation works on the cornerstone, but again, you’ll have to choose the language first. You may also try setting the Chinese language as default.
And, your WPML setting is set to Translate the theme and plugins using WPML’s String Translation, which, you will need to translate your site by using String Translations, instead of just mo/po files.
Thanks!
July 13, 2016 at 7:52 pm #1085939Hmm maybe i did not explain my self clearly. Let’s just focus on Cornerstone here.
This is what i would like:
User 1 (admin)
user Settings :admin in English
Editing English cornerstone page/post/portfolio : Admin remains in English
Editing Chinese cornerstone page/post/portfolio : Admin remains in English (important)User 2 (admin)
user Settings :admin in Chinese
Editing English cornerstone page/post/portfolio : Admin remains in Chinese (important)
Editing Chinese cornerstone page/post/portfolio : Admin remains in ChineseUser 3 (Editor/Contributor/Author)
user Settings :admin in Chinese
Editing English cornerstone page/post/portfolio : Admin remains in Chinese (important)
Editing Chinese cornerstone page/post/portfolio : Admin remains in ChineseTo reply to your previous post:
“Translation works on the cornerstone, but again, you’ll have to choose the language first. You may also try setting the Chinese language as default.”
Switching site default languages does not make any difference to my issue, regardless if i’m switching it from the WordPress general settings, or the WPML default language settings.“And, your WPML setting is set to Translate the theme and plugins using WPML’s String Translation, which, you will need to translate your site by using String Translations, instead of just mo/po files.”
WPML has a feature where you can upload mo/po files to the translation strings and this is working fine on the back end, and showing up clearly in the translations strings.Furthermore for testing purposes i have manually translated the “EDIT with Cornerstone” string and set string translation as complete.Please get back to me asap!
Thanks!July 14, 2016 at 3:23 am #1086410This reply has been marked as private.July 14, 2016 at 9:41 pm #1087913This reply has been marked as private.July 15, 2016 at 5:30 am #1088297Hi there,
Does that mean each user has their own language? Seems that’s not possible. All users share same languages that are available through the site. A user can edit an English or Chinese page by hitting the pencil icon (mostly above the publish button section, or through its listing page). This is not theme related but mostly related to WPML plugin.
There is no setting that limits a user account to the specific language. But maybe possible through WPML customization and not something we could do. You may wish to contact a developer that’s more familiar with WPML.
Thanks!
July 18, 2016 at 4:52 am #1091604I contacted WPML dev and they fixed a similar problem.
But now none of my translations of cornerstone plugin seem to work. please check.July 18, 2016 at 5:01 am #1091606In wordpress it’s very normal for each user to have their own admin language.
-
AuthorPosts