Skip to content
Advertisement

Tag: translation

Is there a way to avoid typing QCoreApplication.translate(“Context”,?

To translate strings in PySide2 apps I need to call QCoreApplication.translate() and specify a context, which are a lot of characters to translate a short string. ie: QCoreApplication.translate(“MyClassName”, “Hello”) I tried to do something like this: This way QCoreApplication.translate() was called with the right context and in my sources I could have a shorter name, but the strings weren’t picked

Best way of using google translation by Python [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 1 year ago. The community reviewed whether to reopen this question 1 year ago and left it closed: Original close reason(s) were not resolved Improve this question

Advertisement