FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Translations » Translate the ACP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Improvement to adm.css in FUD3 [message #161629 is a reply to message #161627] Thu, 21 January 2010 20:29 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
The first step would be to make the ACP translatable by marking the English text. I suggest we start by investigating ways to do it. A possible implementation:

Step 1: Add this function to header.php

function __($msg) {
  return $msg;
}


Step 2: Replace all text. For example, one would change:
Admin Control Panel
to
<?php echo __('Admin Control Panel); ?>

Step 3: Expand the function to lookup and return the translated text.

What do you think? Let me know if you need commit access to start working on it.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Update suggestion
Next Topic: Czech translation
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun May 05 13:52:28 GMT 2024

Total time taken to generate the page: 0.05699 seconds