Localization of module

eriksen.costa - September 22, 2008 - 18:11
Project:Database Scripts
Version:6.x-2.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:eriksen.costa
Status:active
Description

I think we could implement the localization of dbscripts. This could be implemented in a very simple way, with a set of simple functions that check for the system locale and provides the localized version of the help. If any

I mean simple because dbscripts is not entirely a module but a set of scripts for the CLI.

I can start providing the portuguese translation.

#1

ceardach - September 22, 2008 - 22:39

Any idea on how to implement it would be welcome. I would have a preference to implement it as closely to Drupal's language support methodology as possible.

#2

eriksen.costa - September 23, 2008 - 02:12
Title:Localization of the help» Localization of module
Assigned to:Anonymous» eriksen.costa

If we implement this as Drupal l10n system, then I think we would need to bootstrap the system to use the t() function.

This way I think we can use the l10n system and expose the strings to the Locale module.

I will make some tests using the bootstrap and a simpler script as a labor.

#3

ceardach - February 22, 2009 - 22:59
Version:5.x-1.x-dev» 6.x-2.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.