Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    The language selection wouldn’t be functionality that we provide, truth be told. That’s better left for plugins/services dedicated to language selection. We do however provide .pot files for translating BadgeOS so that when a different language is selected, BadgeOS content should be reflected in that same language.

    Thread Starter sirjuliantaylor

    (@sirjuliantaylor)

    The main issue we are having now is that if a user is awarded a badge in French, then it does not also award it to them in English. We used WPML to make the site bilingual, but the system refuses to understand that Badge #1 in French is the same as Badge #1 in English. So our users have to complete the steps twice.

    We also just tried creting badges in the one language (our default is French) and giving it a bilingual description, so our users only had to do it once. We can even use a short code on a page to show all the badges in both language interfaces. However, as soon as a user clicks on a specific badge on the English interface, it pulls them into the French interface (which is where the badge was originally created).

    Any ideas how to keep the users in their own language interface and allow them to see the full badge desciption?

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    I can’t recall having done any discussions about the feasibility of multilingual support with BadgeOS, and I can’t imagine it being an easy quick fix either.

    The problem is, if I recall right with WPML, is that when that plugin translates posts, it actually creates a new post, I believe in the same post type. Because of the fact that it’s a new post, the original achievement/step/etc associations are broken It’s looking for the achievement with post ID 123, and the translated one has a post ID of 124. Users are having to do the French version to get the French achievement, and the English version to get the English achievement. The two aren’t tied together in the database. I hope this is making sense.

    Regarding the last part, I imagine the English Description is getting directly associated with the French achievement as post meta or so, but it’s still going to be for the French achievement, and thus the permalinks would go to the French version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Badge OS end user chosing interface language.’ is closed to new replies.