Page 1 of 1

Qt.translate. Is it possible to get a translation of text without context? Or way to get list of all contexts?

Posted: Tue Sep 07, 2021 8:10 pm
by Evgeniy
Is it possible to get a translation of text without context?

For example:

Code: Select all

from FreeCAD import Qt
Qt.translate("Angle","Form")
Result:

Code: Select all

'Форма'
Is there any way to get a translation without using the context? In the example, this is "Angle".
Or maybe there is a way to get a list of all existing contexts?