Example #1
0
 public function testWithoutEncoding()
 {
     $adapter = new Adapter\Tbx(__DIR__ . '/_files/translation_withoutencoding.tbx', 'fr');
     $this->assertEquals('Message 1 (en)', $adapter->translate('Message 1'));
     $this->assertEquals('Küchen Möbel (en)', $adapter->translate('Cooking furniture'));
     $this->assertEquals('Cooking furniture (en)', $adapter->translate('Küchen Möbel'));
 }