Banshee
the secure PHP framework

Forum

Language

vitronic
5 october 2011, 01:43
Hola hugo, salutaciones

Any examples to translate the buttons and messages from English to Spanish?


Banshee version: Banshee PHP framework v3.2
PHP version: PHP 5.3.8 with Suhosin-Patch (cli) (built: Sep 15 2011 00:14:34)
MySQL version: mysql Ver 14.16 Distrib 5.2.8-MariaDB, for venenux-linux-gnu (i686) using readline 6.2
Webserver: Hiawatha v7.6 , cache, IPv6, Monitor, SSL, URL toolkit, XSLT
Hugo Leisink
6 october 2011, 07:11
If you want to use only the Spanish language, simply rename the buttons in the view files. If you want both English and Spanish, you can use the language library for it. It can be found in libraries/language.php. Set MULTILINGUAL to 'yes' in settings/website.conf.
Message preview

The following BB-codes are available in a message:

  • [b]Bold text[/b]
  • [center]Center text or imagen[/center]
  • [color=color name or #RGB code]Colored text[/color]
  • [i]Italic text[/i]
  • [img]Link to image[/img]
  • [right]Align text or image right[/right]
  • [s]Strike-through text[/s]
  • [size=pixelsize]Big or small text[/size]
  • [u]Underlined text[/u]
  • [url]Link to website[/url]
  • [url=link to website]Link text[/url]