UI for translators or How to make translator life easier

Events happening in the community are now at Drupal community events on www.drupal.org.
l33roy's picture

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

dutchound's picture

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

l33roy's picture

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 nodes saves 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

dutchound's picture

sorry i think you have to do some more research into mulitiligual node options

Why? Im not right or what? Im

l33roy's picture

Why? Im not right or what? Im talking about function, that couldnt find in any module, could you?

hi, i understand what you

dutchound's picture

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

OpenScholar - Install once. Host hundreds of easy, custom, best-practice Drupal sites.

Cool Drupal sites I know:

Translations

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: