Log in

View Full Version : Localizing ffdshow


milan
29th November 2004, 12:25
In recent days I simplified the way how to translate ffdshow configuration dialog and I'd like to ask volunteers to try it.

The translator's mode isn't enabled by default. First you have to enable it via registry (it isn't and won't be available from the GUI): in HKEY_CURRENT_USER\Software\GNU\ffdshow (or ffdshow_audio or ffdshow_enc) add "translateMode" DWORD value and set it to 1. Now you can right-click on almost any control and you'll be prompted to translate its caption. Here are few hint how to use the feature:

1. when more strings are associated with one control (for example checkboxes on Blur page containing strings like "luma", "chroma") a popup menu will appear to select what should be translated. When selecting "Associated strings" a dialog containing list view with pairs of original (in italic font) and translated (normal font) will be shown. You can edit strings as usuall in listviews: either by clicking the string once or by selecting it and pressing F2.

2. Comboboxes and listviews can be translated too after right-clicking them using previously mentioned dialog.

3. Some strings, like file open/save dialog captions are associated with configurations pages themselves. Just right-click anywhere on the configuration page where it is not covered by any other controls (might be difficult on some pages :) ).

4. In translator's more all controls are enabled and all group boxes with captions are turned to push buttons. This is because group boxes don't process messages and I couldn't find a way how to detect right-click.

5. Not all strings are available for the translation in any time. For example file open dialog caption isn't available until it will be actually shown. This way you'd have to open all dialogs, menus and browse whole listviews to get all the strings available.

6. Treeview tooltips can't be translated yet.

Please let me know if this way of translating is usable for you.

The installer is here: http://ffdshow.sourceforge.net/ffdshow-20041129.exe. A warning: installer features new codecs selection pages. They should work, but if something is broken, they could reset your ffdshow supported codecs configuration.

Thank you all in advance.

Leak
29th November 2004, 12:59
Originally posted by milan
In recent days I simplified the way how to translate ffdshow configuration dialog and I'd like to ask volunteers to try it.

Just one question:

Where and how are the edited strings stored, and how can we send them to you? ;)

milan
29th November 2004, 13:09
Sorry, forgot to mention it.

They are stored in ffdshow/languages folder. If you want to expand already existing translation, just select it in "Tray, dialog & paths" page. If you'd like to create new translation, go to ffdshow/languages folder, create new file called ffdshow.xx where xx is language abbreviation and in a text editor write full language name to first line of that file. Save it, close it, open ffdshow configuration dialog, select the new language and start translating.

One more notice: English strings can't be changed - ffdshow.en will remain only few bytes long containing only "English" string.

Sharktooth
29th November 2004, 13:20
OT: does this build contains the AR signaling support?

milan
29th November 2004, 13:26
Yes, it's the latest build from current sources.

If you'd find bugs (very likely to happen), report it to me.

Leak
29th November 2004, 13:36
Originally posted by milan
Yes, it's the latest build from current sources.

If you'd find bugs (very likely to happen), report it to me.

Well, the config dialog crashes for me if I change the deinterlacing method; I've already filed a bug on that. :)

Sharktooth
29th November 2004, 13:39
Originally posted by Leak
Well, the config dialog crashes for me if I change the deinterlacing method; I've already filed a bug on that. :)
It works for me...
However AR signaling doesnt work for me.

milan
29th November 2004, 14:53
Just to be sure, AR signaling should change output aspect ratio depending on what's written inside MPEG video stream?

Sharktooth
29th November 2004, 15:01
Yes, exactly.
EDIT: I found it works when enabling Overlay in the output settings. So, no overlay mixer = no AR signaling support.
Can you confirm? :)

milan
29th November 2004, 15:24
Yes, it's so.

timeismoney
29th November 2004, 17:16
milan, here is something about SimpChinese trans

I've made every release of ffdshow a SimpChinese Localizing Version by directly modify ffdshow.ax itself, because the language file is limited for some resource and can't control the fonts, it cause fonts displayed very grotty under SimpChinese OS Version...

TheUnforgiven
1st December 2004, 02:33
i have the same problem as leak
i use ffdshow-20041124.exe build by celtic_druid.
gonna try this build too

Blkbird
1st December 2004, 03:33
Milan, I also have an off-topic question which I asked several times before without ever getting an answer. I guess you simply never noticed it:

Why aren't OpenType fonts listed in the font selection listboxes, like for OSD or for subtitle? Or more precisely, I can see the OpenType fonts in TTF file format (like most Microsoft fonts), but I can't see the OTF ones.

Blkbird
1st December 2004, 03:44
I've made every release of ffdshow a SimpChinese Localizing Version by directly modify ffdshow.ax itself, because the language file is limited for some resource and can't control the fonts, it cause fonts displayed very grotty under SimpChinese OS Version...

Actually even on my Windows XP en-US with East Asian language support turned on I only see garbage after inputting Chinese translations. It looks like ffdshow's dialog does not feature Unicode support, since if it would, the OS would automatically take care of selecting the proper fonts depending on the script (i. e. Chinese) of the text.

milan
1st December 2004, 17:59
Crash when changing deinterlace method should be fixed - try this build http://ffdshow.sourceforge.net/ffdshow-20041201.exe.

ffdshow displayed only TrueType fonts in font selection combobox by design. When I was developing that page I didn't know OpenType fonts exist. Now also these fonts are supported.

@Blkbird: you're right, ffdshow doesn't support Unicode neither in dialog, file names, subtitles, internal string handling. I've never developed any unicode-aware application and I'm little bit afraid to start converting ffdshow this way.

Blkbird
4th December 2004, 17:59
Originally posted by milan
ffdshow displayed only TrueType fonts in font selection combobox by design. When I was developing that page I didn't know OpenType fonts exist. Now also these fonts are supported.

By "now" you mean "from the next version on"? Since ffdshow-20041201 still doesn't support OTF fonts yet.