Hi there… I’m currently working on a multi-lingual site and have translated the relevant member types but when used on the Register form (ie. user needs to select their member type on sign-up), they always show up in English regardless of the language of the form itself.
I admit I’m still struggling a little to get my head around translations but just wondering if there may be anything obvious I’ve missed.
I’m using the theme WPLMS if it makes any difference.
With many thanks in advance for any thoughts.
Hi NikB,
Thank you for the topic.As far as I understand member types are not translatables(they are user categories and has user associations).
In the member types profile field plugin, we are using standard BuddyPress API.
My suggestion will be to ask developer of multilingual plugin and see if they support BuddyPress member types translation.
Regards
BrajeshThank you so much Brajesh.
> member types are not translatables(they are user categories and has user associations).
I have to admit, this is the part that was troubling me too as it could have a knock on effect in all kinds of ways. I think I may suggest to the client that they keep the member types in just one language (and explain what they mean in other languages). Sometimes the simplest ways are the best 😉
Regards
NikHi Nik,
I had another though about it.What if we have a fixed list of member types and we did manual translation(from a predefined array with membertype as key and label as value). One array per language.
That will solve it.
We can use gettext filter and english language strings to translate to other languages with the help of these arrays.Regards
BrajeshHi Brajesh
Thank you so much for giving this a bit more thought!
I’m not sure I 100% understand what you’re saying(!) but if I’m understanding correctly that this would mean keeping the membertype key and label the same (regardless of which language they were using) that could definitely work.
I’ll investigate the gettext filter a bit more to see if I can figure it out (I’m assuming this would need to be done in code?) although obviously if you do have time to give an example, that would be hugely helpful (eg. for simplicity’s sake, let’s say the site is in English/German and membertypes could be Visitor/Besucher OR Teacher/Lehrer).
Regards
Nik
You must be logged in to reply to this topic.