Closed ravage84 closed 11 months ago
Full path is impractical for size reasons. One way would be to at least have a tooltip (which is non-trivial).
Showing the language there, either as full text or code, is definitely a good idea — thanks!
Showing verbatim PROJECT VERSION
is definitely bad.
Showing the project when set is solving the inverse problem: when the language is obvious from the filename, but the project ("Admin" in your example) is not, which is historically the typical layout in GNU gettext using makefiles.
Context: We often have to translate into more than one language. The POT & PO files are named after their translation context. E.g. "Admin" in
Admin.po
for the translation strings belonging to the admin part of an application. This is a convention given by the CakePHP farmeworkUnfortunatley, that means when opening the PO files the window always just shows "Admin.po" in the title bar.
Feature Request It would be nice Poedit would display the directory path along with the file name of and/or the language set in the PO file.
For example in this case, it could display one of the following in the title bar:
Admin.po * PROJECT VERSION - C:\path/to/application/resources/locales/de_CH/- PoEdit
Admin.po * PROJECT VERSION - German (Switzerland) - PoEdit
Admin.po * PROJECT VERSION - German (Switzerland) - C:\path/to/application/resources/locales/de_CH/ - PoEdit
Rationale: Currently, it's quite confusing when working with more than one translation file. Displaying the directory path would also make it unnecessary to display
PROJECT VERSION
, which we (and likely others) never set.