After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 651006 - Automatic language detection
Automatic language detection
Status: RESOLVED OBSOLETE
Product: gnome-subtitles
Classification: Other
Component: general
latest
Other Linux
: Normal enhancement
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on:
Blocks:
 
 
Reported: 2011-05-24 20:34 UTC by Pedro Castro
Modified: 2018-09-21 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Castro 2011-05-24 20:34:58 UTC
It would be interesting to have Gnome Subtitles automatically detect text language, both for subtitle text and translation. That way the respective options in the Tools menu could be automatically set.

LibEnchant (used for spell-check) doesn't seem to support this. There are also online services available (example: http://stackoverflow.com/questions/1192768/return-the-language-of-a-given-string/1192802#1192802), but a local approach seems better. The following library might do the trick: http://ntextcat.codeplex.com/ (NTextCat)

Other references:
http://code.google.com/p/language-detection/ (Java)
http://textcat.sourceforge.net/ (Java)
Comment 1 Pedro Castro 2011-05-24 20:38:33 UTC
Note: this could also be used on file open, to automatically detect which files are text or translation.
Comment 2 GNOME Infrastructure Team 2018-09-21 16:10:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-subtitles/issues/67.