Version: D6
Project link: http://drupal.org/sandbox/tomotomo/1825768
Git: git clone --recursive --branch 6.x-1.x http://git.drupal.org/sandbox/tomotomo/1825768.git translate_filter
This is an input filter which can be configured, say for the default Filtered HTML input, to do automatic translation of strings when the default language is different from English but strings are being translated from English.
Instead of sprinkling through your content calls like print t('...');
Instead you can just do "[t]...[/t]" and you don't need to use the PHP filter.
Description:
Allows content editors to have strings translated to the editor's language instead of embedding t() calls by wrapping them with "[t]" and "[/t]".
Similar to gist_filter and mathfilter but the purpose is to translate strings.
Comments
Comment #1
ymakux commentedWelcome
README.txt is missing, see the guidelines for in-project documentation.
Drupal Code Sniffer has found some issues with your code (please check the Drupal coding standards).
Review by Coder module
Comment #2
udaksh commentedMaster Branch is still present in your repository. Try to make 6.x-1.x as your default branch and remove master branch.
http://drupal.org/node/1127732
Comment #3
udaksh commentedAlso add installation and usage instruction in your project page .
Comment #4
udaksh commentedPlease have a look at section 2.3 on this link http://drupal.org/node/1587704 .Your project is only 50 lines of code and everything with less than 120 lines of code or less than 5 functions cannot be seriously reviewed, that means we can't make sure you're able to write secure code and use Drupal's APIs correctly.
Thanks
Comment #5
adnasa commentedPlease change your default repo branch to a specific module version rather than master.
read this page carefully and apply it accordingly: http://drupal.org/node/1127732
Comment #6
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)