Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-05-01 17:34:42
- susan mussi
- New Member
- Registered: 2010-05-01
- Posts: 9
Connecting words in a by lingual web ceramic dictionary
I have started a web ceramic dictionary which at the moment is in English, my native language but I want it also in Spanish and Catalan. The work is immense and will never finish. It has as many illustrations as possible, most of which I have done myself, drawings and photos as they are an international language. There are many things I need help with the most urgent is the following-
To set up a connection between the three languages. I would like it to work in the following way; at the end of a section on a word the word would be put in the other two language and made so the reader could “click” on the word and go directly that word in that language.
Tile. “written section”
es:azulejo
c: rajola
My web is http://diccionario.ceramicsbensu.es/en/
When you go into A and F there are two words incorrectly placed and I cannot find them to eliminate them, this is just a warning in case you think your are in the wrong section
All help will be greatly appreciated,
Susan
Offline
#2 2010-05-01 18:17:37
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Connecting words in a by lingual web ceramic dictionary
Hi Susan, the best solution for a site like your’s would be MLP, the Multi-Lingual Publishing Pack. Of course you’d still have to do the translation yourself, but the connection between the languages, and thus the creation of the links to the translated articles, and also detection of the browser language, would be automated.
A manual way to do it would be using custom fields. I am using that method on a small site (wouldn’t recommend it for bigger sites because you can easily forget to fill a custom field, or enter the wrong data. Anyway, it goes like this: create six custom fields named ‘en-link’, ‘es-link’, ‘ca-link’ and ‘en-title’, ‘es-title’, ‘ca-title’ (or whatever). In the ‘write’ screen of your article you enter the links to the other two translations, and the translated titles, in the respective custom fields. In your article form you can place something like this to display the links:
<ul>
<txp:if_custom_field name="en"><li>en: <a href="<txp:custom_field name="en">"><txp:custom_field name="en-title" /></a></li></txp:if_custom_field>
<txp:if_custom_field name="es"><li>es: <a href="<txp:custom_field name="es">"><txp:custom_field name="es-title" /></a></li></txp:if_custom_field>
<txp:if_custom_field name="ca"><li>ca: <a href="<txp:custom_field name="ca">"><txp:custom_field name="ca-title" /></a></li></txp:if_custom_field>
</ul>
But I really recommend using MLP for your site!
Offline
#3 2010-05-16 07:35:01
- susan mussi
- New Member
- Registered: 2010-05-01
- Posts: 9
Re: Connecting words in a by lingual web ceramic dictionary
Halo Eles,
Many thanks for your help with textpattern I will try and get it sorted out during the next weeks.
I looked at MLP but my great trouble is that I do not know how to do the basics layout of a web and to find someone in Barcelona would be very difficult. Do you know anyone who can set up a wed and give lessons through internet in MLP (Multi-Lingual Publishing) and can you give me a name of a web that uses it so I can go into and get an idea on how it works.
Susan
Offline
#4 2010-05-16 17:15:47
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Connecting words in a by lingual web ceramic dictionary
Hi Susan, I sent you an email :)
Offline
#5 2010-06-05 18:47:53
- susan mussi
- New Member
- Registered: 2010-05-01
- Posts: 9
Re: Connecting words in a by lingual web ceramic dictionary
My dictionary is now working; I can now connect the words in the different languages. I have only connected two words are “ash and amphora” enter and see how it works. This is thanks to the information given to me by Els.
I have three more problems
1) I have MLP but the way it is installed drives me mad as it has nothing to do with the way I work. It has three section English, Catalan and Spanish. As an example a word that now functions between the three languages is Ash (GB) Cendra © Ceniza (ES) they are all different. This is OK but at the top of MLP it has Section, Author and Status which are useless for me and I would like this changed and be the same as in the section “renditions” where it has Search. And you can find sections under title, ID, Body and many other headings. I have over 1000 files and want to be able find what I am looking for quickly.
2) My dictionary is in 3 languages and when working in one and click to go to the next or previous word it sometimes goes in to one of the other languages how can I correct this.
3) When I want to add a new word it goes to the top, go into A and you can see the first two words. I want to take out and I cannot find them. This use not to happen so I must have changed something and I do not know what. I cannot find them to change or eliminate them. This only happens when I add a new word I can go in and correct a word and as long as the date does not change there is not this problem. Can someone help me?
Offline
#6 2010-06-05 21:41:26
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Connecting words in a by lingual web ceramic dictionary
Hi Susan,
1. The articles shown under the MLP tab can also be accessed under the ‘Renditions’ tab. I use the MLP listing only to clone articles for translation, not to search for articles.
2. You can’t correct this, the prev and next links always use the articles’ posted dates to determine the previous and next article. So the best way is to use the Renditions screen to find your articles by searching by title.
3. What is the article tag on your page that displays the articles? My guess is that you need to add sort="Title asc"
, if the tag doesn’t have the sort
attribute it sorts by posted date by default.
When you add a new article you need to remember to change the section. I’m guessing the ‘Section’ dropdown always shows section ‘A’ (because it’s the first section alphabetically), and if you don’t change it the new article will be saved in that section.
What exactly do you mean by saying you ‘can’t find them’? Not even if you search in the Renditions list by title?
Offline
#7 2010-06-07 05:56:14
- susan mussi
- New Member
- Registered: 2010-05-01
- Posts: 9
Re: Connecting words in a by lingual web ceramic dictionary
Hi Els
I do not think you understand what I want so I will try and explain it again. I want to find a way to set up DLP in some logical order so I can find files quickly, the ideal would be alphabetically and this would be controlled by the English column on the left. Just the thought that in a few years I might have to run through 3 or 4 thousand files, word by word, just to fine one is awful! Going into renditions you can see the word but not how it is connect to another two languages.
Something has gone wrong with my textpattern. As I cannot find the words that are incorrect to eliminate them. I can correct words all ready in the dictionary if I do not change the date and I am frighten of adding more words as it is going to become a mess. I have a feeling that I have done something in correct and do not know what. The first two word in “A” and the first in “C” are in correct. I understand what you have explained and it use to work but they are not in any of the list so I cannot correct or eliminate them.Susan
Offline
#8 2010-06-07 20:19:15
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Connecting words in a by lingual web ceramic dictionary
Hi Susan,
I understood what you want, but I didn’t think it was possible. But I have found out how to modify one of the MLP files, so that the articles are sorted alphabetically by the titles in the first column:
If that would help you, I can email you the modified file. I don’t understand enough of the code to figure out how to sort by any of the other columns.
As for your second problem, I can’t tell from your description what could be wrong. If you wish you can email me a login, so I can have a look. But I won’t have time for that before tomorrow evening.
Offline
#9 2010-06-08 12:44:51
- susan mussi
- New Member
- Registered: 2010-05-01
- Posts: 9
Re: Connecting words in a by lingual web ceramic dictionary
Hallo Els,
Please do not think I need help in a hurry, take your time, I have had these troubles for moths, a few more days or weeks won’t hurt.
Just to be able to put the first column in alphabetical order would be perfect as the sections of the three languages on the same subject but with different names have stay together, so please send me the coding for this.I will send you my web login by email to sort out words that are placed in correctly. Here is a list of the words; they are all the first words in that section. They are all also placed correctly alphabetically and WHEEL – HAND WHEEL is a mixture of two files.
In “A” English ABC ……….. , ARCHIVAR LOS DISEÑOS POR TEMA Y TAMAÑO
In “C” English, CARA
In “W” English WHEEL – HAND WHEEL
susan
Last edited by susan mussi (2010-06-08 12:46:15)
Offline