Warning: preg_match() expects parameter 2 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 417

Warning: strlen() expects parameter 1 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 489

Warning: preg_match() expects parameter 2 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 417

Warning: strlen() expects parameter 1 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 489

Warning: preg_match() expects parameter 2 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 417

Warning: strlen() expects parameter 1 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 489

Warning: preg_match() expects parameter 2 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 417

Warning: strlen() expects parameter 1 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 489

Internationalizing a ClassicPress plugin: Localization functions


Warning: preg_match() expects parameter 2 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 417

Warning: strlen() expects parameter 1 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 489

Warning: preg_match() expects parameter 2 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 417

Warning: strlen() expects parameter 1 to be string, array given in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-includes/class-wp-block-parser.php on line 489

ClassicPress PluginsThis post is part of the sub-series on Internationalizing a ClassicPress plugin which is part of the Internationalizing a ClassicPress plugin series.

There is a number of functions available in ClassicPress which can be used in localising code:

  • __() – this function takes a string and returns the translation if it exists.
  • _e() – this function takes a string and echos the translation if it…

Continue Reading Ian Grieve’s Article on their blog

Internationalizing a ClassicPress plugin: Localization functions

This post is part of the sub-series on Internationalizing a ClassicPress plugin which is part of the Internationalizing a ClassicPress plugin series. There is a number of functions available in ClassicPress which can be used in localising code: __() – this function takes a string and returns the translation if it exists.

Blog Syndicated with Ian Grieve’s Permission

Author: Ian Grieve

Share This Post On

Leave a Reply

%d bloggers like this: