Hi i am using translation in my project and i have two language files but in case of forms labels and placeholders, how to do translation? form code is this:
        $name = new Text("name",array(
        'class' => 'mi_field',
        'placeholder' => '顧客名'));
    $name->setLabel('顧客名');
    $name->addValidators(array(
        new PresenceOf(array(
            'message' => 'The name is required'
        ))
    ));
    $this->add($name);
my existing way of doing translation is using this :
            <th  height="36" class="mi_table_head"><?php echo $t["name"] ?></th>
                    <th  class="mi_table_head"><?php echo $t["compname"] ?></th>
                    <th  class="mi_table_head"><?php echo $t["search"] ?></th>
Pls help me