[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-includes/ -> format.php (summary)

GlotPress Format base class. It is supposed to be inherited.

File Size: 110 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  get_file_extensions()
  read_translations_from_file()
  get_language_code()

Functions
Functions that are not part of a class:

get_file_extensions()   X-Ref
Gets the list of supported file extensions.

since: 2.0.0
return: array Supported file extensions.

read_translations_from_file( $file_name, $project = null )   X-Ref
No description

get_language_code( $locale )   X-Ref
Create a string that represents the value for the "Language:" header for an export file.

param: GP_Locale $locale The locale object.
since: 2.1.0
return: string|false Returns false if the locale object does not have any iso_639 language code, otherwise returns the shortest possible language code string.



Generated: Thu Dec 26 01:01:15 2024 Cross-referenced by PHPXref 0.7.1