List Info

Thread: Hiding non-translated content




Hiding non-translated content
user name
2006-05-14 04:21:18
I am considering Plone for a site that is entirely in
English, but a subset 
will be translated to Japanese (and likely more languages
like German, French, 
Italian, Spanish, and perhaps even Chinese).  At first
glance, the 
internationalization of Plone seems very impressive:  lots
of languages, the 
ability to maintain translated content, fallback logic, the
easy language 
setting switching, etc.

But...  As I mentioned, only a subset of the English site
will be translated.  
In addition, I can imagine that some published articles will
not be translated 
simply because it is not necessarily appropriate (or
valuable).  As a result, I 
am looking for a way so that content and navigation links to
content are hidden 
if it is not available in the user's chosen language.  Is
there a way to do 
this?

So far, I have experimented with the Plone Language Tool and
LinguaPlone.  I 
managed to activate multiple languages via the Language
Tool, and then create 
translated content using LinguaPlone.  However, plone shows
a message saying 
something like, "the content is not available in your
language, but it is 
available in these languages...".  I'd prefer to not
let the user see the 
content in the first place.

Thanks!



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-i18n mailing list
Plone-i18nlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Hiding non-translated content
user name
2006-05-16 16:01:31
I only have a moment, but here's a trail to start down.
When I look at the source of a linguaplone page I see class="visualGhosted"  for the greyed out images for which no translation exists. Find the template that generates this, and make the whole link, not just the class, conditional on whatever value you see there.
HTH,
--r
On 14 May 2006, at 05:21, Anthony Whitford wrote:

I am considering Plone for a site that is entirely in English, but a subset 
will be translated to Japanese (and likely more languages like German, French, 
Italian, Spanish, and perhaps even Chinese).  At first glance, the 
internationalization of Plone seems very impressive:  lots of languages, the 
ability to maintain translated content, fallback logic, the easy language 
setting switching, etc.

But...  As I mentioned, only a subset of the English site will be translated.  
In addition, I can imagine that some published articles will not be translated 
simply because it is not necessarily appropriate (or valuable).  As a result, I 
am looking for a way so that content and navigation links to content are hidden 
if it is not available in the user's chosen language.  Is there a way to do 
this?

So far, I have experimented with the Plone Language Tool and LinguaPlone.  I 
managed to activate multiple languages via the Language Tool, and then create 
translated content using LinguaPlone.  However, plone shows a message saying 
something like, "the content is not available in your language, but it is 
available in these languages...".  I'd prefer to not let the user see the 
content in the first place.

Thanks!



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
_______________________________________________
Plone-i18n mailing list


—————————————————————

Russ Ferriday
Topia Systems
tel: (+44) (0) 2076 177758
mobile: (+44) (0) 7789 338868
skype: ferriday


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )