Add new language in Plone - plone

How to add new language in Plone 4.2? I looked at the code on plone.i18n.locales.languages.py. The languages is hard coded inside the code. Anyway we can extend the language list without modified the core code. Any plug in, may be? Thanks.

Benefit from the advantages of opensource and contribute it right to the core.
The i18n-team will be happy to help you further, just leave a post in the forum:
http://plone.org/support/forums/i18n

Related

What framework should I use to build a web-based text annotation site?

I know almost nothing about this sort of thing, so please forgive the newbie question.
I want to put together an open-source online literature annotation system. I hear this sort of thing is easier to do with frameworks like Drupal or Django, but I don't know very much about them. I found some Drupal plugins that handle text annotation. Is that the best way to go?
Oh by the way, if anyone is interested in contributing, please contact me, because I could use all the help I could get. I've been putting up ideas at http://hyperlit.tiddlyspace.com/
Annotator by Open Knowledge Foundation might do what you want - used by OpenShakespeare...dual MIT/GPL, code is on Github, has a couchdb backend but you can develop your own storage since it is separate from the javascript annotation tool.
I have an idea to use drupal as a document repository and integrate okfn annotator but very much an idea, not a project (yet) - my particular use case is commenting on legislation/draft legislation.
For Drupal, these potentially might do what you want (in various states of development/functionality):
Open Review
Yellow
marker
discussions on Marginalia but no
movement
Sticky Notes and other older modules did not fit my use case
[ http://drupal.org/project/sticky_notes ]
EDIT: Commentpress for wordpress might get you up and running quickly with limited features.

Need a translation toolkit that supports msgctxt

Wordpress 3.1 came out recently with a lot of new features, and as I can see, there's a big change in support for translation. The context feature of GNU Gettext (msgctxt) is now used a lot in Wordpress's code, some e() and _() are replaced by _x() and _ex(). And... it's causing a problem for me.
I'm using PoEdit to edit the translation for Wordpress, but currently it doesn't support msgctxt. I know how to manually edit the .po file to translate a string that uses msgctxt, but it's a hard work. And, the bigger problem is that when I use PoEdit's Update button, all my hard works... go away, the things that I changed by manually editing the .po file go away!
So now, I come here to ask you, do you know any translation toolkit (like PoEdit) that supports GNU gettext's msgctxt? Please tell me, thanks a lot for your help :D
Great news: PoEdit 1.5.5 now supports msgctxt! The key thing to get right is the keyword sources configuration within your Catalog properties. For _x and _ex it should look like: "_x:1,2c" and "_ex:1,2c". Covered in more detail here: http://wp.tutsplus.com/tutorials/theme-development/translating-your-theme/
you can use PoEditor.com it supports the msgctxt!
Regards
I realize this is a year-old question, but have you tried Automattic's own GlotPress?
It's still a work in progress, and you have to install it from the Subversion repository, but it does support translation contexts and it allows collaboration.

Which symfony-based CMS is the most extensible?

I'm looking for a symfony-based CMS, and I have heard about Diem and Apostrophe, but none of them offers all of the features I am searching for.
In your opinion, which of these CMS' is the most easy to extend? Do you know any other Symfony-based CMS I would want to consider?
EDIT : By 'to extend' I mean adding probably unsupported features, like Pdf rendering, adding menu from another sf application, content creation through web services... and all sort of special stuff my client would want.
Both Diem and Apostrophe will allow you to extend quite easily.
It is just a matter of selecting the base that best suits you.
Apostrophe already has many of those features. Check out Apostrophe engines.

Spell Checker in Web Application

Currently I am developing website in asp.net.
I wanted to include spellchecker module into my code.
It may not be fare to ask like this, but I don't have enough time to do R&D on that topic, of course I did enough study but I am unable to get the exact way to implement spell checker in my application.
Can any one suggest me how to implement spell checker and where to get source code.
Thank You.
All modern browsers come with built-in spell checkers these days, and users can customise them to their own language, locale and even add new words. Don't bother trying to implement your own. If your IE6 users complain, tell them to upgrade.
op said:
It may not be fare to ask like this,
but I don't have enough time to do R&D
on that topic
and then commented:
Actually I am new to .net. Recently I
joined as a .net trainee. My trainer
wants me to develop this module.
wow, you're making great strides!
follow the links, should do what you want...
http://forums.karamasoft.com/ShowPost.aspx?PostID=3614
If you use javascript and jQuery, the spellayt plugin provides spell checking in IE browsers.
Have a look at this appliation, following the link -http://www.spellchecker.net/ If you use FCK/CK Editor or TinyMCE, it perfectly works as a plug-in there. if not, you can embed it into your application as a SpellAsYouType functionality or spell-checking in pop-up..

learning drupal fast track: how to create a stackoverflow clone?

I've started figuring out drupal, and so far most of the results are just ugly.
May be I need to learn it in something similar to a real-life project.
I thought — to reproduce this site's functionality might be a good learning project. But I need help. :)
Without assuming this site is based on drupal (it most likely is not — too quick, I think) is there a way to build something similar in functionality (yes, slower, OK if not as fancy as this one, but close) with existing drupal modules and schemes (or with minimal tweaking)?
Or drupal is not good enough for that?
Or — is it too complicated project for a student?
Which existing modules and schemes might help to build something similar?
(No competition is intended with stackoverflow.)
Firstly, Drupal is by no means a slow system, actually it works quite well.
Secondly, this has been already asked and answered here.
By the way Drupal has a medium learning curve but, once you learn how to use you'll find it simple and you'll find it will satisfy almost everything you want to do with it. Its plugin system is just great and it's very SEO friendly (I don't get paid from Drupal I swear, I just happen to like it a lot)
My website is made in drupal if you wanna take a look (is in spanish though).
-Is there a way to build something similar [to stackoverflow] in functionality with existing drupal modules and schemes (or with minimal tweaking)?
It's a good idea to try and learn a new technology by trying to make a real-world project. But if you're intention is to actually learn drupal, then trying to solve the problem with exiting modules and "a minimal amount of tweaking", you might not learn very much!
-Or drupal is not good enough for that?
Drupal is certainly capable of the type of functionality implemented here, and much more.
-Or — is it too complicated project for a student?
It depends on the student. Different people have different abilities. Your mileage may vary.
Some suggestions that might possibly help:
There's a Drupal distribution for it ... (not just a 'module'), i.e ArrayShift. Quote from its project page:
A question/answer site built to emulate the core functionality of sites on the StackExchange platform, such as:
StackOverflow.
Drupal Answers.
There is a Drupal theme for it, i.e the ArrayShift Theme. Here is a screenshot (from its project pages):
It has been in a kind of unsupported status until recently, though the updated project page contains a roadmap to get it going again for D7 (and D8 later on).
Disclosure: I'm the (new) maintainer of ArrayShift (and its related modules and theme),
I hope this does not violate the site's policy on self-promotion.

Resources