flutter icon indicating copy to clipboard operation
flutter copied to clipboard

Translate exercise filter headers

Open rolandgeider opened this issue 3 years ago • 9 comments

At the moment, the filter headers used for the exercise filters are hard coded in English (in the provider). These strings should be translated like everything else in the application

rolandgeider avatar Jul 28 '22 09:07 rolandgeider

image

rolandgeider avatar Jul 28 '22 09:07 rolandgeider

Hi, I would like to try resolve this issue, could you assign me?

sandimilohanic avatar Oct 04 '22 15:10 sandimilohanic

Hi! Sure, go ahead.

This is still in the feature/exercise-crowdsourcing, you can use the test server for the backend:

https://wger.rge.uber.space username: user password: flutteruser

In the workout tab, go to the menu on the top right to exercise list. The provider is the "add exercise provider" and instead of muscle groups we could use "category" which is used in other places and should already be translated

rolandgeider avatar Oct 04 '22 15:10 rolandgeider

@rolandgeider Is there maybe a user interface for adding new translations?

sandimilohanic avatar Oct 14 '22 11:10 sandimilohanic

do you mean this group of muscles to set the category?

Screenshot_66

sandimilohanic avatar Oct 14 '22 12:10 sandimilohanic

No, the ones when you click on that funnel icon next to the text field. Also, this was recently moved to master, no need to work in the branch anymore.

rolandgeider avatar Oct 14 '22 12:10 rolandgeider

@rolandgeider Is there maybe a user interface for adding new translations?

We have setup synchronisation with weblate https://hosted.weblate.org/engage/wger/ Is this what you mean?

rolandgeider avatar Oct 14 '22 12:10 rolandgeider

We have setup synchronisation with weblate https://hosted.weblate.org/engage/wger/ Is this what you mean?

yes i mean for that.

sandimilohanic avatar Oct 14 '22 12:10 sandimilohanic

Hi @rolandgeider, Regarding for this issue, i need to add two translations in the backend app into the file "i18n.tpl". Can I add them?

{% translate "Category" %} {% translate "Equipment" %}

sandimilohanic avatar Oct 14 '22 13:10 sandimilohanic