-
Author
-
August 4, 2016 at 16:04 #131332jesse_pengParticipant
Hi:
Sorry to bother again, but I’m trying to learn more about the theme on the two day. I have almost completely translated this theme of the field for chinese. But there are several fields that cannot be translated,
1,This field can be seen by :该项对于谁可见
2,Comment <span>%s</span>:评论 <span>%s</span>
Maybe there are other fields. I haven’t found it yet.
Another problem, I modified some files (elusive-icons.php, lib\options.php, posts-social-share.php), but when I put it in a child-theme, I found that there was no effect.What I did wrong?
For the last question, I put the following code into the child-theme, but did not change the default avatar,When registering a new user.
function myavatar_add_default_avatar( $url ){
return get_stylesheet_directory_uri() .’/images/pokerchip.png’;
}
add_filter( ‘bp_core_mysteryman_src’, ‘myavatar_add_default_avatar’ );
please help me out.Thank you!
August 5, 2016 at 02:10 #131436LauraModeratorTheme strings and plugins strings can easily be changed by using Loco Translate plugin https://wordpress.org/plugins/loco-translate/
<h3>A small introduction on how translations work</h3>
Translatable strings can come from the theme or from the installed plugins. You need to translate the theme or the plugin depending on what section of the site your string is found.For example if your string is on your BuddyPress profile then most probably you will need to translate BuddyPress plugin. If you are on the Forums section of your site then bbPress plugin should be the one that needs to be translated. Another example is the rtMedia plugin that adds the Media links to BuddyPress and if you want to translate it then this plugin will contain the string.
<h3>Follow these steps to get you started:</h3>- Install Loco Translate plugin
- Go to the plugin dashboard: WP Admin – Tools – Manage translations
- Find the theme or plugin in the list.
- If the language isn’t already in the list then click Add new language, choose your language and if you are asked where you want to save the language files choose global language directory ( wp-content/languages/ ).
- Press SYNC button to synchronise your translation with the provided .pot file
- Search for the string you want to translate and add your translated string.
- Press Save when you finished your translation.
Note: You will have to set the language for your blog from WP-admin – Settings – General – Site Language – Choose your language
We will check the other issues in order 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 6, 2016 at 07:58 #131530jesse_pengParticipantHi,miss Laura
Thanks for reply my ticket.the problem is the pot file is too old,does not include the fields I mentioned, even though I have updated it. And translate these fields in poedit or Loco translatie, it is still not produce results. This is not a big problem, I can translate these fields in the PHP file. but I really need a FAQ module in my site, like:http://demo.theme4press.com/alora/faq/
It is possible to make this effect by use Kleo? Or any suggestion. expect for you reply。
Thank you.Attachments:
You must be logged in to view attached files.August 8, 2016 at 03:13 #131592LauraModeratorHello, please share admin credentials and a list of the words that you need to change, i will check it out for you :))
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 9, 2016 at 21:45 #131842LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 10, 2016 at 17:45 #131917RaduModeratorHi,
The This field can be seen by it’s part of buddypress if you already translated this and the translation it not applies can be possible the po/mo files to be in wrong path.
The default language files it’s located here : /wp-content/languages/plugins
Details here : https://buddypress.org/support/topic/where-is-the-translation-file/#post-236750
The lang files should named like this buddypress-EN_en.po/mo
For the default avatar problem try to use this function instead : http://wordpress.stackexchange.com/a/66050
In child theme elusive-icons.php and lib\options.php cannot be overwritten. Only post-social-share.php in your case.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 10, 2016 at 17:48 #131918RaduModeratorSorry, i’ve forgot to respond to you for the faq module question.
You can use accordions and tabs elements from visual composer to achieve something similar or you can search in wordpress repository for a faq module.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 10, 2016 at 18:48 #131932jesse_pengParticipantHi,Radu
Thank you so much for your reply.I’m sure the file position is correct.because most translate worked well,Just some of these have problems.also,this theme can’t translate 100%.hope feature release can be.anyway,Don’t trouble for this problem, I translated in source files.
avatar,this function not work for me.but I find an other way.thanks for your advise.
post-social-share.php, You mean just modify this file?and put it in child theme?cause I added some font icons.and the FAQ stuff,I’ll try it.thanks for your advise.
The attachments is translate file,If possible, could you try it? See what’s the problem?But please don’t include in languages folder when a new version release,it’s not prefect for now.thank you very much.
Attachments:
You must be logged in to view attached files.August 11, 2016 at 15:38 #132028RaduModeratorHi
Regarding the post-social-share.php file, yes copy it to child and edit it.
We will test the language file, thanks you !
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 12, 2016 at 03:29 #132142jesse_pengParticipantHi,
Oh,I see, thank you. I’m looking forward to your test results.
CheersAugust 12, 2016 at 16:50 #132191RaduModeratorOk
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 12, 2016 at 16:51 #132192RaduModeratorOk
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 5, 2016 at 17:45 #134984RaduModeratorHi,
I’ve investigated and regarding that fields that you are not able to translate it…and i saw that fields are related to the BuddyPress, not from kleo_framework where you are trying to translate it, so try to translate in buddypress.po/mo related files
Cheeers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 5, 2016 at 18:46 #135005jesse_pengParticipantHi,Radu
Thanks for reply.and yes, absolutely I translate the BuddyPress fields.sorry I didn’t upload BuddyPress.po/mo file last time.please check attachment.seems all the BuddyPress fields in Kleo can’t be translate.Thanks ,please check it for me.
Have a nice Day.Attachments:
You must be logged in to view attached files.September 6, 2016 at 15:20 #135098RaduModeratorHi,
The translations files are ok but i think another it’s the problem, i think the language file path it’s the cause : where are the placed the buddypress mo and po files that you have provided to me ?
That this should be correct path : /wp-content/languages/plugins if the files are in other path move the files here and check again, if this not makes any difference provide FTP + wp admin credentials to investigate
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 7, 2016 at 19:12 #135297RaduModeratorHi,
I think that strings are somehow hard coded, tomorrow we will investigate more , please do not change the passwords
We will let you know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 8, 2016 at 03:30 #135370jesse_pengParticipantHi,
Ok,Thank you !I won’t change my password until the problem is resolved.September 9, 2016 at 17:12 #135600RaduModeratorHi,
The visibility message now it’s translatable there was a wired issue in next update this will be fixed
Please provide to me a screenshot where i can see the comment string that cannot be translated also the url to the page will be useful
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 9, 2016 at 17:30 #135605jesse_pengParticipantHi:
Thank you very much!I want to know that are you translate in php files?if so ,I can do it,otherwise please tell me how to deal with it.cause there is a lot strings,And I’m quite ashamed to have to trouble you to translate all strings.And if next update will be fixed ,that’s great,and I think I can wait for next update.Thank you very much,I mean it.September 9, 2016 at 20:02 #135634RaduModeratorHi,
The problem has been fixed using a function that allows you to have that string “internationalized” so there is no translation in PHP file,I’ve added the missing function that take cares of the string translations, and you should translate fields from wpml string translation.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 10, 2016 at 20:45 #135708jesse_pengParticipantHi Radu,
Thank you for reply.can’t find the function that you added.can you tell me where it is. wpml string translation means some wordpress plugins? or something else?Thanks.September 12, 2016 at 18:55 #135838RaduModeratorWpml string translation it’s part of wpml and it’s like a plugin for wpml
FILE : /wp-content/themes/sweetdate/custom_buddypress/class-bp-tabs.php
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 15, 2016 at 04:59 #136183jesse_pengParticipantI prefer to wait for the next update.hope that would be work.thanks.
September 15, 2016 at 17:55 #136225RaduModeratorHi,
I’ve fixed that live on your site when I’ve asked you about FTP details, this will be fixed too on next theme update.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 15, 2016 at 17:58 #136226jesse_pengParticipantOK,great.Do I need to provide other fields that need to be translated?
September 15, 2016 at 18:16 #136232RaduModeratorOnly if that strings are translatable in WordPress default theme and on our theme doesn’t
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 16, 2016 at 14:47 #136328jesse_pengParticipantHi Radu,
Here is the strings can’t be translate.
Comment:
http://www.animfan.com/members/admin/activity/298/All Members
http://www.animfan.com/members/All Groups
http://www.animfan.com/groups/My Groups
http://www.animfan.com/groups/This field can be seen by:
http://www.animfan.com/register/[portfolio settings ][Portfolio Categories][Add New]check pic1
thanks.
Attachments:
You must be logged in to view attached files.September 16, 2016 at 15:22 #136334jesse_pengParticipantsorry I forget add the shortcode strings.the thing is some can translate ,some can’t,and some can’t add into .po file.please check the pictures,and the po file.
Attachments:
You must be logged in to view attached files.September 19, 2016 at 18:13 #136529RaduModeratorHi,
I cannot view this page : http://www.animfan.com/members/admin/activity/298/
IT ask me to log in but you have changed the credentials, please provide the credentials.
Do you have switched to default WordPress theme and you have notice that strings that you have reported to me are now visible translated ?
Regarding the K-Elements translations, there will take some time until we made all strings translatable maybe 1 month we will try to do this quicker.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 21, 2016 at 17:20 #136775RaduModeratorHi,
The buddypress translation has been resolved on your site live and also i’ve added these fixes to our theme and on the next update these will be included.
For the rest of the strings this will take a while, these has been added to the improovment list and we will let you know when it’s done.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.