Skip to content

Instantly share code, notes, and snippets.

@maerzbow
Created May 24, 2016 16:22
Show Gist options
  • Save maerzbow/1c84651b8de0cb0d7c9f096afdd2b4ad to your computer and use it in GitHub Desktop.
Save maerzbow/1c84651b8de0cb0d7c9f096afdd2b4ad to your computer and use it in GitHub Desktop.
example file for php define i18n segments
<?php
# A header comment for
# the file.
# a comment for the LOGOFF segment
define('LOGOFF', 'Log off');
define("DOUBLE_QUOTES", "'single' and \"double\" quotes");
define("SINGLE_QUOTES", '\'single\' and "double" quotes');
DEFINE('PLACEHOLDER', 'Hello %s!');
DEFINE('MULTI_LINE', 'A multi line \n string.');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment