Static data and localisation #2859
Unanswered
jim-easterbrook
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at the source file
datasets.cpp
I noticed that the initialisation of static data such asapplication2Record[]
includes localisation (or localization if you prefer) markers, e.g.My C/C++ knowledge is limited, but I think that that data is fixed at compile time, so the strings aren't localised when my localised application accesses the static data. I can get the localised version of each string by calling
Exiv2::exvGettext
with the English text. (The value returned byExiv2::IptcDataSets::recordDesc
is also not localised.)Is this expected behaviour and I should carry on and use
Exiv2::exvGettext
where needed, or am I doing something wrong with my initialisation of libexiv2? I'm using my Python interface python-exiv2 for all this, so that is a possibility. Error messages from libexiv2 are localised though.Beta Was this translation helpful? Give feedback.
All reactions