Problem with translation-part 2

cancel
Showing results for 
Search instead for 
Did you mean: 
akafortes
Active Member II

Problem with translation-part 2

Hello everyone,

This is a "part 2" of a previous question I had with problems in translation, Problem with translation.

There seems to be a conflict of some sort when use the "alfresco-el" and the "share-el" translation files together.

If I only use the "share-el" almost everything is tanslated, exept for the "Properties" section in the document details page. You can see that in the "Properties_1" screenshot below.

When I also add the "alfresco-el" file, I can see that this section is correctly translated, but for some reason the rest of the available actions are turned back to english. You can see that in the "Properties_2" screenshot below.

And this problem extends to other areas of the repository as well, like the menu when you browse the repository

"Translated"

."With Problem"

And some other places like the "More" options menu you get on an item in the repository with options like "Copy To.." etc.

It appears that when I use the "alfresco-el" translation file, something gets messed up or when reading the translation properties and it stops parsing the files at some point... I don't know.

Anyone has any insite on where I might have a look? Should I check the translation files again, maybe some options of Alfresco?

EDIT: I noticed that the embeded images are not readable cause they are long, if you click on them you can open the image to see it in full size. Smiley Happy

1 Reply
akafortes
Active Member II

Re: Problem with translation-part 2

An update on the situation...

After a lot  more digging around in the properties files, I've managed to narrow down the problem to the

"slingshot_el.properties" file. I don't know why but when I removed this file from the translation jar, all the missing translations came back.

The reason I was looking into this file is that I found that the fields in the "Properties" section in the document details page appear to be in this file (slingshot_el.properties) but I also found them in the "content-model_el.properties".

What I mean is looking at the translated string and the name of the field, cm_author.title for example, I was able to narrow down my searching to these 2 files.

First I removed the "content-model_el.properties", but nothing changed, so I restored the file and removed the "slingshot_el.properties" file and everything seems to be working fine.

So from that I have to conclude that something must be going on with the "slingshot_el.properties" file.

Can this information be used to investigate this matter further?