Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
RDF language unsettable... Bugs
By merlin , Section Code []
Posted on Mon Apr 14, 2003 at 12:00:00 PM PST
There was a lack of flexibility in Scoop 0.9 on RDF language. Specificly, Scoop 0.9 don't have a way to set the language in the RDF feed.

I have several scoop sites, some in english, some in portuguese, my native language. I created the RDF feeds and everything looked nice, til I sent the RDF URL to a friend, that opened the URL and seen this:

<dc:language>en-us</dc:language>

But my site is portuguese, and everything there is written in portuguese. I looked everywhere on scoop site controls, in blocks and boxs and no where I could set this.

As they say... RTFS (Read The Fine Sources)... and there was in Cron.pm, line 500:

language => 'en-us'

I propose, and did in my version, that this is changed to:

language => $S->{UI}->{VARS}->{rdf_language} || 'en-us'

This way, a normal scoop site that don't have this var will use the default 'en-us', and any other language site have to create the rdf_language var and set it to anything they want.


< CatScratch.Org (soon) to go live | Scottish Political Discussion (Redux) >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Bugs
· Also by merlin

Story Views
  32 Scoop users have viewed this story.

Display: Sort:
RDF language unsettable... | 6 comments (6 topical, 0 hidden)
Internationalization (none / 0) (#1)
by panner on Tue Apr 22, 2003 at 03:48:42 PM PST

The reason Scoop ships with the language hard-coded to en-us is because when you download it, it's in english. The only way to change that is to hack up the source and translate, which, IIRC, is what you did.

Eventually, Scoop probably will have multi-lingual support, and this is something that needs to be changed then. But for now, it doesn't seem necessary, and would just add a basically useless var.

What we really need it a decent bug tracking system where we could make an I18N queue, which this would fit in to perfectly.



--
Keith Smiley



Thank you (none / 0) (#3)
by scdobre on Thu Sep 27, 2018 at 02:15:11 AM PST

Hope to see more posts from you. Thank you for sharing the code instagram



Happy (none / 0) (#4)
by annedua on Wed Oct 03, 2018 at 03:31:00 AM PST

I just started following your page. I love the quick and easy directions. Download full mutilate a doll 2 Download full bubble shooter



kitchen remodeling nyc (none / 0) (#5)
by Pervez on Sun Mar 17, 2019 at 11:25:52 AM PST

Incredibly beneficial in addition to very helpful! When I seemed to be in search of this data although you will discover very restricted methods. At this point simply click here kitchen remodeling nyc Appreciate it intended for giving this data.



Businesses heavily impacted during the Covid-19 (none / 0) (#6)
by bulksms on Wed Mar 25, 2020 at 10:31:45 AM PST

With global businesses heavily impacted during the Covid-19, the need for a reliable communication channel has grown exponentially. Business SMS is the top trending channel of instant communication used by millions of businesses to keep their audiences updated.



RDF language unsettable... | 6 comments (6 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search