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 |
Jump to:
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
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
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