TNG / JGiven

Behavior-Driven Development in plain Java
http://jgiven.org
Apache License 2.0
436 stars 99 forks source link

jgiven-html-app : no translation available #968

Open clementheliou opened 1 year ago

clementheliou commented 1 year ago

Hi !

Currently, it's possible to write JGiven scenarios in some other languages than English (Spanish for example). While using this feature both with the HTML5 app' generator, we end up with a mixed interface with menus/headers in English (All scenarios, Failed, Pending) and our scenarios in the chosen language.

The underlying AngularJS app does not seems to include a translation system. All labels seem to be hard-coded.

  1. What would be the best solution to translate the HTML5 app' ?
  2. Would it be costly to add translation system into the Angular app (as it does not seems to evolve anymore...) ?

Thanks Clément

l-1squared commented 1 year ago

Hi Clément, first off, sorry for taking my time to answer.

The HTML app is a known issue to us. Its age, design and technology make me convinced that the best way to go forward is to actually migrate the app to a more modern framework. (I had react in mind). Therefore I would not try to integrate a translation system into this app, but actually make it a requirement for the new one.

With your issue added, it appears to me that fixing the app needs to become a higher priority.

clementheliou commented 1 year ago

Agree with that. This would give JGiven kind of new energy as their report has been a huge differenciator seven or eight years ago. And React is definitely more attractive than AngularJS 1.x 😄