-
Author
-
January 18, 2017 at 20:22 #150144RaduModerator
The content from here can be translated sure with WPML string translation
Personally i don’t know another solution to can translate those.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 18, 2017 at 23:10 #150152RoaderParticipantHi Radu… My friend. WPML is expensive!
So, PLEASE! Think free solutions, like Polylang, WPGlobus (well plugin have two versions: free and Pro), qTranslate X (8 months outdate… but…).I need to know Whats string do you use for this area and BuddyPress Profile Fields… etc.
January 19, 2017 at 14:47 #150211RaduModeratorHi,
Just I’ve found this on google: https://qtranslatexteam.wordpress.com/multilingual-fields/ and I’ve tested and it works! You should enter the fields in this syntax (see screenshot) /
Official documentation for this: https://qtranslatexteam.wordpress.com/multilingual-fields/
You should be able to translate all fields using this method.Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 19, 2017 at 17:02 #150225RaduModeratorAlso you will be needed to replace the content of this file from sweetdate parent: /wp-content/themes/sweetdate/custom_buddypress/class-bp-tabs.php
with this one : http://pastebin.com/raw/zuE6E2EJ
This will take care of translation for the strings on profile.
This fix will be included in future updates
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 19, 2017 at 22:22 #150243RoaderParticipantLet me try my friend.
qTranslate X is okey, but the problem is, this plugin is Outdate!For this reason, check others alternatives: polylang and wpglobus.
January 20, 2017 at 16:26 #150319RaduModeratorThis plugin isn’t out of date,
Latest update was 8 months ago and it works great with current version of wp
https://wordpress.org/plugins/qtranslate-x/
Cheers
R.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 20, 2017 at 21:46 #150355RoaderParticipantMy friend. Think in others alternatives: Polylang and WpGlobus.
Because, if right now qTranslate X was abandoned, then it is no longer useful.
Outdate plugin for WP is very dangerous.
But, okey, I go to try! But, again… try with other alternatives.
January 21, 2017 at 01:28 #150370RoaderParticipantHi Radu. Your Code works in the tabs, okey, but, there is an error, in profile info check this.
Name appears without change, [:es]Nombre[:][:en]Name[:]And remember please, adapt this code for WpGlobus also. WpGlobus works with: {:en}text{:} also qTranslate.
Attachments:
You must be logged in to view attached files.January 23, 2017 at 17:11 #150514RaduModeratorDO this : https://archived.seventhqueen.com/forums/topic/how-can-i-force-the-translation/page/2/#post-150225
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 23, 2017 at 22:34 #150551RoaderParticipantMy friend Radu, I’m using this pastebin code, but, like you can see,
In Profile Info, does not change. Appears: [:es]Nombre[:][:en]Name[:]Solution?
January 24, 2017 at 20:39 #150608RaduModeratorI see, bun on profile header they are showing ok right? (top)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 25, 2017 at 00:10 #150648RoaderParticipantHi!
Yes, top Okey!
Down, Not! So, please… fix it! Or tell me why.But, I prefer, also, that you add support for WpGlobus or PolyLang, because qTranslate maybe, was abandoned.
Attachments:
You must be logged in to view attached files.January 25, 2017 at 18:35 #150786RaduModeratorAdd this function to functions.php in child theme
COPY CODE/*Make xprofile fields translable fix*/ if (!function_exists('make_x_profile_fields_name_translable')): function make_x_profile_fields_name_translable($fieldname) { return __($fieldname, 'kleo_framework'); } add_filter('bp_get_the_profile_field_name', 'make_x_profile_fields_name_translable'); endif;
It works i’ve tested
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 26, 2017 at 00:41 #150808RoaderParticipantAnd Thanks for your functions code, works! But, qTranslate outdate… Ummm
WordPress has a big problem with Outdate plugins and Security. So, WpGlobus for now is the solution, but your code does not work with this.
January 26, 2017 at 01:50 #150810RoaderParticipantCustom fields are not translated.
Attachments:
You must be logged in to view attached files.January 26, 2017 at 16:00 #150916RaduModeratorUse this syntax, it’s the same as qtranslate x and this it should work http://www.wpglobus.com/extensions-archive/multilingual-texts-in-wordpress-theme-options-panel/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 27, 2017 at 02:27 #150991RoaderParticipantHi Radu,
I put your pastebin and your functions code, but not work with WpGlobus.
Your Code work only with qTranslate.The problem is, my friend, that qTrans is outdate! And maybe, it was abandoned.
So, Please, make your code compatible with WpGlobus also.
Attachments:
You must be logged in to view attached files.January 30, 2017 at 15:48 #151352RaduModeratorHi,
I see your point of view but understand for the moment there is no quick solution for making the wp globus to work, you can use the q translate x I the current version isn’t vulnerable.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 30, 2017 at 16:16 #151356RoaderParticipantOk. I go to use qTranslate while you work for solution.
So, please, do not forget it.
But, also remember the big problem of security and speed.I think, that if you add more improves, you can sell SD 60$ (for new buyers)
My friend, is bbpress very necessary?
I can see, that if I disable this, the blog not work. But,
No dating page uses forums. Only this!January 30, 2017 at 19:00 #151401RoaderParticipantFor Laura:
Hola Laura. Como te decía antes, la traducción española tiene varios errores.
Obviamente, usando LocoTranslate uno puede corregir, pero, inmediatamente uno actualiza el Theme se pierden los cambios.Attachments:
You must be logged in to view attached files.January 30, 2017 at 19:26 #151409RaduModeratorBbpress can be de-activate if you will not use forums.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 30, 2017 at 19:54 #151412RoaderParticipantYes, but, when I disable bbpress, the Blog does not work :/
Solution?
January 30, 2017 at 20:16 #151417RoaderParticipantFor Laura:
Me gustaría poner el Comutador de Idiomas de qTranslate en el Footer (copy area).
Cómo puedo hacerlo?July 16, 2017 at 03:11 #167560RoaderParticipantAgain. All Right but, please, make BP / SweetDate fields translatable with WPGlobus. You know, qTranslate X is very outdate. So, please!
Attachments:
You must be logged in to view attached files.July 18, 2017 at 16:19 #167819RaduModeratorHi,
Make sure to have wpglobus translate options plugin installed
https://ro.wordpress.org/plugins/wpglobus-translate-options/
That text is saved in options
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 19, 2017 at 15:42 #167941RaduModeratorOk
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 20, 2017 at 14:51 #168062RoaderParticipantwpglobus-translate-options
I don’t know why but not work for this fields.
Wpglobus works right with others, because .mo, .po.
So, this areas needs tr strings (bp x profile fields also).
July 20, 2017 at 15:51 #168065RoaderParticipantHere we go 😀
Well, reading this (LINK) is saw that wpglobus options is not that simple to use.
The plugin developer says that WPGLOBUS does not translate these custom text fields because the fields do not have strings that indicate translation. In the MAIN FORM does not work:
{: en} text {:} {: en} text {:}
Nor does that work for BP custom fields.And I know this is more work for you, but, when you can, please make translatable those areas.
For the rest, the plugin can translate 90%
July 21, 2017 at 18:21 #168217RaduModeratorHi,
Just write your text in both versions in this way
Example :COPY CODE[:en]English Text[:ro]RO Other language Text[:]
In theme options you should have the text like this:
In wp globus theme options addon add those -> Options to translate:
IT will render like this
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionJuly 22, 2017 at 00:24 #168238RoaderParticipantWorking good for know. Thanks!
———–
What can’t I translate? Custom profile fields.For example: Group – Base / Looking for: Everyone
(of course it can translate Man or Woman because these words are in the .po, but, not custom words added)July 25, 2017 at 20:34 #168555RaduModeratorHi,
You’re welcome, ok.
The profile fields are thru a translatable function __() but for some reason, I cannot figure what’s going on.
There should be made further investigation, we will come back to you those days.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.