Hi, I have been using Drupal for a few months and I am toying around with a pet project in order to bring to life a very specialized dictionary for architecture, and my question is how to model this.

I want to have a english/spanish/french... dictionary with images, a description and the translation of that word to the other languages but my headache starts when I think that if a user uses the spanish version of the website he should be able to see the spanish as primary and english as secondary while an english person should see the opposite.

How could I do that? is any foreseable problem? I have small experience designing information with drupal to this level and would like to at least go in the right direction. Would you recommend to use books to organize hierarchically things? any other idea?

Am I going to have to code? I rather avoid it at the moment as this is just a pet project.

Thanks for your help in advance.

Comments

jordibares’s picture

I guess it has slip under the radar with so many threads going on but would be lovely if someone can throw some light, link or information about it.

Thanks once again.

Sara Adams’s picture

I coded a dictionary in the last couple of days for my page. You can see the result at http://www.happyfolding.com/dictionary
It's probably not quite what you were looking for, but maybe it's a starting point. Most of the code is pretty clean, but I still want to fix a thing here or there. Not sure whether others are interested in this, though. If so, it might be worth opening a project on it?

[Creates new tables for languages, terms and translations of terms; Implements hook_search and hook_update_index to search details pages; Details pages have a reference to the term they are defining, and all existing translations are listed automatically.]

jochen wendebaum’s picture

oj, that is interesting, would it be possible for you to open a project for that? If you want/need, I can also contribute to the project.

izarco’s picture

Hi, i'm interesting on the project of dictionary

Ismael Zarco

Sara Adams’s picture

Ok, I'll look into it. I've had three replies thus far, so I guess it might be interesting to the community. I'll try to work on the dictionary within the next month, and look into the requirements for opening a project here.

-- Sara

Sara Adams’s picture