WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Hyphenator

Soft hyphens are automatically added in the content for a nicer automatic word wrap. Particularly suitable for justification. Uses Hyphenator.js.

Supported Browsers

  • Mozilla Firefox 3+
  • Google Chrome 1+
  • Opera 7.1+
  • Internet Explorer 6+
  • Apple Safari 2+
  • Konqueror 3.5+

And any other modern browser that supports JavaScript and the soft hyphen (­).

Shouldn't hyphenation be done on the server side?

There are some arguments against client side hyphenation - true. It costs a lot of computing time and the patterns have to be loaded for each language, everytime. But I believe that hyphenation belongs to the client:

  • Only the client «knows» where to break a line (and if at all).
  • A html file that has been hyphenated on the server would be full of ­'s. That's ugly and nobody knows how that would be treated by search engines…
  • Hyphenation on the client can be turned off to work around copy&paste- and search-bugs in most browsers.
  • as JavaScript-engines are in focus of development, they become faster and faster.
  • there are billions of mostly underworked clients vs. millions of often overloaded servers.

(Source)

Hyphenator breaks the search functionality of my browser

Your browser has a bug (currently, only Firefox3 finds hyphenated words). So I don't want/can't fix this in Hyphenator.js. The only thing we can do is to turn hyphenation off before searching.

(Source)

When I copy/paste hyphenated texts from a website, spaces/hyphens are inserted in almost all words

This is fixed since version 3.0.0.

(Source)

JavaScript is insecure and evil. It should be turned off in every browser!

Welcome to Web 2.0, the world of AJAX and modern browsers! It's true, JavaScript had a very bad reputation - not because JavaScript itself is bad, but because of a very poor implementation in some browsers. As of today JavaScripts influence is growing and browser developers put a lot of work in making their JavaScript engines better, secure and really fast. There are a lot of webpages using JavaScript in a good manner. Further, Hyphenator.js follows the rules of unobtrusive JavaScript.

(Source)

How about Accessibility?

Following the rules of unobtrusive JavaScript Hyphenator.js has AFAIK no influence on accessibility of your webpage. It just adds a feature that will not be missed by a screen reader.

Some screen readers have issues with words that contain soft hyphens (they read syllables instead of words). Please note that this is not an issue of Hyphenator but a bug in the screen reader. Please contact the makers of the screen reader application.

(Source)

Why shows my WordPress no update to 1.0.0.1?

  • Reason: I have relaunched the version numeration for Hyphenator version 1.0.0 so that it answers to the new version of the Hyphenator.js project. The downside is people using the previous version won't be notified due to the new versions 1.0.0 and 1.0.0.1. Sorry, I fizzled it.
  • Solution: Try to install the new version manually. Maybe you have to delete the existing installation of Hyphenator first. An other option is to go to 'Edit' in 'Plugins' in WordPress, select 'Hyphenator' and alter the version number into a minor one, 0.1 should work. Save and then WordPress will show you an Update for 'Hyphenator' you can install. Done.

Requires: 2.7 or higher
Compatible up to: 3.3.2
Last Updated: 2012-10-29
Downloads: 9,681

Ratings

4 stars
4.2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,4,4
33,3,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
50,2,1 100,1,1
50,2,1 100,1,1
100,4,4
100,2,2 100,1,1
100,2,2 100,1,1
100,1,1 33,3,1
100,2,2
100,1,1