Hi,
I use MediaInfo DLL without problem on Delphi but I would like to change language output so I use "MediaInfo_Option(Handle,'Language', 'fr');" but it doesn't work, output is still in English.
How can I use it ?
Thank you !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Language files are not directly included in the library in order to keep the binary size light.
You need to store yourself the language file (e.g. fr language file), load it and send its content to MediaInfo.
MediaInfo::Option("Language", x);, with x being the content of the language file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I use MediaInfo DLL without problem on Delphi but I would like to change language output so I use "MediaInfo_Option(Handle,'Language', 'fr');" but it doesn't work, output is still in English.
How can I use it ?
Thank you !
Language files are not directly included in the library in order to keep the binary size light.
You need to store yourself the language file (e.g. fr language file), load it and send its content to MediaInfo.
MediaInfo::Option("Language", x);, with x being the content of the language file.
“ load it and send its content to MediaInfo.”
Can you give an example of the code implementation? lazarus/fpc or Delphi.
It is very similar...
MediaInfo_Option(CurHandle, 'Language', x);
Thank you it works perfectly !