Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

inotherwords

60 sites Security covered
View on drupal.org

This module provides field formatters for presenting lists of items in a more grammatical way and for condensing sequential lists into shorter text.

About the In Other Words module

In Other Words 3.x

Actively maintained and improving.

In Other Words 2.x

Security fixes only. It includes support for Smart Date. However, that feature is experimental and has one known major error - #3363014: Cannot access Manage Display page when used with Smart Date module.

In Other Words 1.x

Security fixes only. This version will be deprecated in the near future. It also does not support Drupal 10.

Features

Punctuating lists

Any listing, whether sequential or not (the latter using In other words: List, can be made natural in a sentence, including using the Oxford (series) comma. For example, from any kind of multiselect set of flavors, if four are chosen, the field can be configured to output this:

Our flavors include chocolate, vanilla, strawberry, and peppermint chocolate chip.

Shortening sequential lists

In Other Words can shorten sequential lists by skipping over the items in the middle of the sequence. For example if the following full list is available:

Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday

And a content author selects the following from them:

Monday, Tuesday, Wednesday, Thursday

The In other words: Sequential terms formatter can be configured to interpret this and output:

Monday through Thursday.

Supported fields

Currently In Other Words supports the following field types:

  • taxonomy terms, summarizing sequential terms using the order in their vocabulary. Text before, text after, the connecting word or symbol, such as to or (that's an en-dash), can all be configured to whatever you'd like. (We plan to (read: are accepting patches for) also doing this for text lists.)

    Also, both within and to join the sequences can be configured to use natural language, for example: Available on Sundays, Mondays through Wednesdays, and Fridays. can be the output based on Sundays, Mondays, Tuesdays, Wednesdays, Fridays being selected.

  • Text lists and entity reference labels (including taxonomy terms) can be output as natural language listings with or without the sequential (oxford) comma.

  • Date/time ranges (In Other Words 2.x only) can be output without redundant years or days. For multivalue date ranges, they can be shown with past dates listed separately or not at all, and using natural language sequences (oxford/sequential comma or not). Warning: This functionality is experimental, with one known major issue - #3363014: Cannot access Manage Display page when used with Smart Date module

Similar modules

For removing redundancy from individual dates you could instead use DateRange Compact or Smart Date.

Contributing

All are welcome to join the issue discussion or submit patches or merge requests!

 

"Word as Image" by Ji Lee is licensed under CC BY-NC 4.0.

Activity

Total releases
1
First release
May 2025
Latest release
10 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
3.0.2 Stable May 23, 2025