Thanks for sharing!
mCity wrote:
Quote:
Well, I hope XOOPS would add this square backet method to core even if they implement XOOPS multilingual by adding an extra column for language to related tables. We don't need to have extra column for blocks titles. We need news, comment, and forum content, etc for members to use. For admin, I prefer to use this way still: "Select [tch]English[/tch][eng]Chinese[/eng]" for assign title to select language block and most place.
I agree it's a convinient method, IF you happen to know all the languages. I'm webmaster on a danish, japanese and english site, and often I have problems remembering the japanese words - thus other people need to edit the text again, with the risk of axidental mistakes happening in the other languages. Now imagine supporting 20 languages or more, perhaps having 10 or 15 people going thru all the lines to insert/translate their part. It's a hell.
mCity wrote:
Quote:
Today, I solved the way to show in blocks administration table.
edit /modules/system/admin/blocksadmin/blocksadmin.php in function list_blocks(line 41)
Quote:global $xoopsUser, $xoopsConfig, $myts, $HTTP_GET_VARS;
Great work. I did however have problems with the above line.
Instead of that line, I added the following as a new line 42:
Quote:
$myts =& MyTextSanitizer::getInstance();
All the other lines worked as they should.
I noticed that things like custom blocks, which don't belong to a module will have a name as an unbreabable space:
Quote:
I also noticed the drop-down box isn't fixed yet.
All in all. Good work!