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.

Comments

ceardach’s picture

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.

Anonymous’s picture

Title: Localization of the help » Localization of module
Assigned: Unassigned »

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.

ceardach’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
hefox’s picture

Status: Active » Closed (won't fix)

I suspect neither me nor her are likely to be doing this, so unless there's a patch offered marking it as won't fix.