• This web contains the official documentation of the TWiki-5.0 Release, code named HelsinkiRelease. It is a read-only web for reference.
• This is an older release, see TWiki-6.1 for the latest release documentation.
Tags:
create new tag
view all tags

Package TWiki::Plurals

Handle conversion of plural topic names to singular form.

StaticMethod singularForm ($web,$pluralForm) -> $singularForm

Try to singularise plural topic name.

  • $web - the web the topic must be in
  • $pluralForm - topic name
Returns undef if no singular form exists, otherwise returns the singular form of the topic

I18N - Only apply plural processing if site language is English, or if a built-in English-language web (Main, TWiki or Plugins). Plurals apply to names ending in 's', where topic doesn't exist with plural name.

Note that this is highly langauge specific, and need to be enabled on a per-installation basis with $TWiki::cfg{PluralToSingular}.

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-03-30 - TWikiContributor
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback