Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2025, 08:08 PM   #1
Haudek
Member
Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.
 
Posts: 24
Karma: 111614
Join Date: Mar 2025
Location: Poland
Device: Kindle Voyage
[Plugin] FindForeignWords – Find words/phrases in span tags with lang attribute

Updated: March 21, 2025
Current Version: "0.0.5"
Status: Stable
Plugin type: validation

Plugin icon:


License/Copying: GNU LGPL Version 2 or Version 3 your choice. Any other license terms are only available directly from the author in writing.

Change Log:
  • v0.0.5 - First public version

How it works:
The plugin searches for all SPAN tags that contain the language attribute (lang or xml:lang) and presents the found words/phrases in the Validation Results window.
Of course, individual words can be checked in the "Spellcheck" window, but for phrases the plugin may be more convenient.
IMHO the plugin is an excellent complement to the ForeignWords plugin, because it allows you to check whether the work has been done correctly and to find any words that have been marked redundantly.

It works on one, many or all xhtml files depending on the selection in the Book Browser window.

Credits/Thanks:
  • @KevinH for generate_line_offsets and charoffset functions.
  • @BeckyEbook for the plugin icon.

Installation:
1. Select Manage Plugins from the Plugins menu. In the Manage Plugins dialog box, select Use Bundled Python, if it isn't already selected. (If your Sigil version doesn't have a Use Bundled Python option, click one of the Auto buttons to detect the path or Set to manually select the Python interpreter path.)
2. Click Add Plugin and select FindForeignWords_v0.X.Y.zip. This will install the ForeignWords plugin, which you can select via Plugins > Validation > FindForeignWords.

Issues:
So far, nothing.

OS Requirements:
Windows/Linux/OS X.

Sigil Requirements:
Sigil v1.6.0.
Attached Files
File Type: zip FindForeignWords_v0.0.5.zip (3.0 KB, 62 views)
Haudek is offline   Reply With Quote
Old 03-20-2025, 08:11 PM   #2
Haudek
Member
Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.Haudek knows the difference between a duck.
 
Posts: 24
Karma: 111614
Join Date: Mar 2025
Location: Poland
Device: Kindle Voyage
(Reserved to future use)
Haudek is offline   Reply With Quote
Advert
Reply

Tags
lang, plugin, sigil, span, validation


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] ForeignWords – Marks words/phrases in a foreign language with the span tag Haudek Plugins 13 03-23-2025 05:39 PM
Option to automatically highlight certain words or phrases in context LilaFrabel Viewer 4 07-21-2024 10:59 AM
Buying books: words or phrases that can turn a 'yes' into a 'no'? ZodWallop General Discussions 133 09-13-2020 11:25 AM
Writing Phrases and Words I Detest Dr. Drib Writers' Corner 98 10-12-2017 10:24 AM
Common words/phrases too aggressively italicized. carnivore Conversion 2 02-11-2011 06:36 PM


All times are GMT -4. The time now is 02:00 AM.


MobileRead.com is a privately owned, operated and funded community.