This template is used for translation message extraction tests trans('single-quoted key'); ?> trans('double-quoted key'); ?> trans(<< trans(<<<'EOF' nowdoc key EOF ); ?> trans( "double-quoted key with whitespace and escaped \$\n\" sequences" ); ?> trans( 'single-quoted key with whitespace and nonescaped \$\n\' sequences' ); ?> trans(<< trans(<<<'EOF' nowdoc key with whitespace and nonescaped \$\n sequences EOF ); ?> trans('single-quoted key with "quote mark at the end"'); ?> trans('concatenated'.' message'.<< trans('other-domain-test-no-params-short-array', [], 'not_messages'); ?> trans('other-domain-test-no-params-long-array', [], 'not_messages'); ?> trans('other-domain-test-params-short-array', ['foo' => 'bar'], 'not_messages'); ?> trans('other-domain-test-params-long-array', ['foo' => 'bar'], 'not_messages'); ?> trans('typecast', ['a' => (int) '123'], 'not_messages'); ?> trans('default domain', [], null); ?> trans(message: 'ordered-named-arguments-in-trans-method', parameters: [], domain: 'not_messages'); ?> trans(domain: 'not_messages', message: 'disordered-named-arguments-in-trans-method', parameters: []); ?> trans($key = 'variable-assignation-inlined-in-trans-method-call1', $parameters = [], $domain = 'not_messages'); ?> trans('variable-assignation-inlined-in-trans-method-call2', $parameters = [], $domain = 'not_messages'); ?> trans('variable-assignation-inlined-in-trans-method-call3', [], $domain = 'not_messages'); ?> trans(domain: $domain = 'not_messages', message: $key = 'variable-assignation-inlined-with-named-arguments-in-trans-method', parameters: $parameters = []); ?> trans('mix-named-arguments', parameters: ['foo' => 'bar']); ?> trans('mix-named-arguments-locale', parameters: ['foo' => 'bar'], locale: 'de'); ?> trans('mix-named-arguments-without-domain', parameters: ['foo' => 'bar']); ?> trans('mix-named-arguments-without-parameters', domain: 'not_messages'); ?> trans('mix-named-arguments-disordered', domain: 'not_messages', parameters: []); ?> trans(...); // should not fail ?>