The current approach for the New Frontend is to store the UI phrases as enum values.
While currently only the English language is supported in CodeCompass and we have no near future plans for supporting other languages, it is not really a robust solution and is not really better than hard coding the English texts in the UI code.
The current approach for the New Frontend is to store the UI phrases as enum values. While currently only the English language is supported in CodeCompass and we have no near future plans for supporting other languages, it is not really a robust solution and is not really better than hard coding the English texts in the UI code.
E.g.:
It could be a much solution to place these into real translation files and use react-i18next for example for internationalization.