PHP Classes

File: examples/views/Lang/test.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  BladeOne  >  examples/views/Lang/test.blade.php  >  Download  
File: examples/views/Lang/test.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change: Update of examples/views/Lang/test.blade.php
Date: 11 months ago
Size: 798 bytes


Class file image Download
Translation (it must translate to japanese)
@@_e('Hat') :<br>

@@_e('Not yet translated') :<br>
@_e('Not yet translated')<br><br>

@@_n('Cat','Cats',1) :<br>

@@_n('Cat','Cats',100) :<br>

@@_n('Hat','Hats',100) :<br>
@_n('Hat','Hats',100) (note, there is not a translation for Hats)<br><br>

@@_ef('%s is a nice cat','Cheshire') :<br>
@_ef('%s is a nice cat','Cheshire')<br><br>
Test methods with missing fields
@@_n('Cat','Cats') : (if number is missing then its returned as a singular)<br>
@_n('Cat','Cats') <br><br>

@@_ef('%s is a nice cat') : (if a field is missing the it returns the expression)<br>
@_ef('%s is a nice cat')<br>

    {!! ($var == 1) ? $this->_e('Hat') : '' !!}

For more information send a message to info at phpclasses dot org.