Posted by l33roy on December 31, 2009 at 4:37am
Hello.
I think the best way for me is to parse body with regexp to translate needed strings.
Strings are stored in DB table.
Any ideas how implement this in drupal?
I have a lot of English nodes on my site. I want to make UI for my translators.
Nodes have a lot of the same strings, and I want give opportunity to my translators to batch translate any string to other language in all nodes bodies. Do you have any idea about it? Or is it another way to make translator life easier?
Thank you...
Comments
Hi
I dont know how to put custom PHP into drupal very well, and how to implement custom nodes, although i would know how put all the strings into a database, and how to present them in a PHP table, accompanied with google translations. I think that if i made this PHP, it would be great if someone made it into a module, or if they incorporate it into the L10n module.
It would be a translation page with all the translations in an editable table... actually i would make a new version of the l10n server type of interface, with add-on features but i only programmed PHP since 1 month so it would take plenty of hours from me. And i could not physically install the L10n Server module on my pc, for testing. it didnt want to enable, there were error msg's.
wouldnt you just want to give users access to the l10n Client module, so that the translations are forwarded to the community?
would you prefer to have a full page screen of strings to translate?
In fact i looked in t5he drupal database just now i didnt even see any database table for the language strings! i think it puts all the thranslations on screen, and writes them into module PHP files ? :/
l10n Client module is for
l10n Client module is for translating modules strings, that pass through the t() function. Am I right?
I dont know how exactly it works.
I need another function, that will replace strings in nodes body. The table
nodessaves the nodes teaser and body in text type.So, I need the table that stores strings and translation of that string. And the button TRANSLATE, that will call str_replace php function on all nodes bodies. It is the simpliest way to implement this, I think that module will be able to be more complex...
Any ideas? do someone need the same? Or maybe someone already implement this?
sorry i think you have to do
sorry i think you have to do some more research into mulitiligual node options
Why? Im not right or what? Im
Why? Im not right or what? Im talking about function, that couldnt find in any module, could you?
hi, i understand what you
hi, i understand what you mean, it is alot of work!
you need a table that stores all the node contents in different information, and when users translate it, they can do a string replace / else an SQL replace function that replaces all the same strings in the database.
it would be easy to do without a module, but i am new to the module world!
here's one
http://drupal.org/project/vitzo_easy_translator
OpenScholar - Install once. Host hundreds of easy, custom, best-practice Drupal sites.
Cool Drupal sites I know: