Recent Topics

1 Aug 21, 2010 23:39    

My b2evolution Version: 3.3.3

I'm using b2evo in standard English. I like most of the text, but there are a couple things that I'd like to change a bit. What's the best way to do that?

After poking around a bit I'm thinking the "correct" way is to make a new language and "internationalize" the strings I want to change. Is there a better way? Am I missing something obvious?

2 Aug 22, 2010 01:36

Just put a file _global.php in /locales/en_US/ directory with the following content

<?php
/*
 * Global lang file
 * This file was generated automatically from messages.po
 */
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );

$trans['en_US'] = array(
'__meta__' => array('format_version'=>1, 'charset'=>'iso-8859-1'),
'' => "",
'Categories' => 'Alternative name for categories',
'Tags' => 'My tags',
);
?>

You should see the changes right away if you are using en_US locale.

3 Aug 22, 2010 17:46

Yeah, I figured internationalizing was the way to do it.

Thanks for showing me the fast way to change a couple strings without going through the entire .po/.pot process. Very helpful.


Form is loading...