Every repository with this icon (
Every repository with this icon (
| Description: | Radiant is a no-fluff, open source content management system designed for small teams. edit |
-
Provide support for internationalization of the admin interface for Radiant and extensions
Comments
-
was:
rake radiant:updatehangs in release.rakeOn or around line 69. Only seems to occur when Radiant is frozen in vendor.
Spree uses the generator script to accomplish this:
spree -uComments
-
2 comments Created about 1 month ago by radiant0.9.0xsaturnflyerxUpdate the tab creation DSL for extensionsseancribbsxBasic Syntax for new tabs:
add_tab "Design" do add_item "Layouts", "/admin/layouts" add_item "Snippets", "/admin/snippets" endJavascripts and Stylesheets extension:
tab "Design" do add_item "Javascripts", "/admin/javascripts" add_item "Stylesheets", "/admin/stylesheets" endIn another extension:
tab("Design").add_item "Templates", "/admin/templates", :after => "Stylesheets"Comments
saturnflyer
Wed Oct 07 20:15:48 -0700 2009
| link
Slight change, the syntax for adding and selecting should be the same so we don't have to worry about dependency checking.
Instead of
add_tabwe'll just usetab -
0 comments Created about 1 month ago by jlongErrors when changing your password should be shown0.9.0xComments
-
0 comments Created about 1 month ago by jlongDo not allow an administrator to remove his own admin privileges0.9.0xComments
-
3 comments Created about 1 month ago by shurikkerrors when running radiant with prefix (server --prefix=/something)0.9.0xone won't be able to expand page's children if radiant is running under a prefix/namespace
possible solution might be fixing sitemap.js and rely on document.location, rather than hardcoded '/admin' in XHR calls
observed in 0.8.1, but checked repo, looks like the problem is still there
Comments
do you mean
--path=? i just tried the master branch withscript/server --path=rand there seem to be a lot more problems than what you describe (and expanding/collapsing children was not one of those problems). or are you using passenger's option to run from a sub-directory?yes, my bad, --path or -P that is, same applies when running radiant using passenger with RailsBaseURI. I haven't tried to run that from the trunk, but checked sitemap.js it's a bit different than in 0.8.1
at some point i thought it's not very important to run radiant under a prefix/namespace but realized that i have (example):
- domain.com/site (raidant) - domain.com/app1 (rails app1) - domain.com/app2 (rails app2) etc.i have proxies (entry point) and they decide how to route traffic for different apps, and this way apps can reuse css from domain.com/site
-
2 comments Created about 1 month ago by johnmuhlonsumbit_status overlay messages look wrong in ie7/80.9.0x- completely broken in ie7; no spinner and no text visible
- black text on black background in ie8
Comments
-
0 comments Created about 1 month ago by kintnerRemove Image link to radiantcms.org0.9.0xThe /vendor/extensions/textile_filter/textile.html file embeds a non-existent image from radiantcms.org.
This should be removed.
Comments
-
every non-logged-in visitor to a radiant site gets infected with a _sitename_session cookie for no apparent reason. i had a look at this and think rails is to blame but is there anything radiant can do to suppress these useless and annoying cookies?
Comments
seancribbs
Sun Oct 18 07:05:58 -0700 2009
| link
We used to use session :off in the SiteController, but that has been deprecated. I believe the answer is to remove SiteController and create a Rack middleware to serve pages.
We modified login_from_session in login_system.rb to check for the session cookie before accessing the session object. This prevents the session from being created.
seancribbs
Thu Oct 22 13:35:15 -0700 2009
| link
Please send a patch and specs!
-
0 comments Created about 1 month ago by jlongExtensible settings interface0.9.0 maybexImplement a "general settings" tab where extensions can easily include their own settings information (already partially implemented in the prototype).
Comments
-
14 comments Created about 1 month ago by jlong0.9.0 maybexAdd a drop down menu for adding snippets to page partsjgarberxComments
saturnflyer
Wed Sep 30 13:57:57 -0700 2009
| link
I'd prefer a more general purpose approach to this. I've barely worked on this in a "browser" extension but I think there should be a way to add snippets, or assets, or anything else that an extensions adds.
By all means, pull something together and we can discuss it
Jim, what would you think of taking the toolbar that textile_editor adds and generalizing it so it's just a toolbar and common API that any extension can use? The advantage of that is it already has code for wrapping highlighted text with stuff (in this case, a radius tag). I can work on it too if you want.
This might be an option: http://livepipe.net/control/textarea I like some of the functionality of textile_editor_helper better, though.
This is cool, but it's jQuery: http://markitup.jaysalvat.com/home/ Might jQuery be in Radiant's future?
Check out this UI mockup: http://www.twitpic.com/jtf3z/full
I'm imagining the snippet button would open a popup listing the snippets with a little disclosure triangle to peek inside the snippet in case you forget what it does. Clicking the name inserts/wraps the snippet and closes the popup.
Similarly, the radius tag button opens the tag reference popup except descriptions are hidden with disclosure triangles. Click the name to insert/wrap the tag and close the popup. Roughly, http://www.twitpic.com/jtfsr
The help icon is for filter reference. Not the most intuitive. Needs more work.
That's the basic idea idea Jason, just a few less buttons. :) Do you want to work on this? Could you get it worked out in the prototype first?
I was thinking that the API for filters could be something like this:
class BlahFilter < TextFilter ... def bold '<b>%{text}</b>' end ... endIf the "bold" method was defined the button would show up on the toolbar.
Keep in mind that there is actually another ticket for the toolbar (#26).
saturnflyer
Thu Oct 01 10:36:12 -0700 2009
| link
Check out http://github.com/saturnflyer/radiant-browser-extension in a pre-blade version of Radiant. It just inserts an area to the right where I planned to list assets/snippets (and the whole thing is very rough).
I think something like that would be better than an overlay because the overlay gets in the way of editing text which is one of the problems with the current tag reference: I can't edit my text while I read the reference. By putting it to the side, it would be easier to read and edit as well as do drag and drop into the editor.
Took awhile to get it working, but I was able to see it eventually. Yes, it would be nice to be able to read the reference while you work on a tag. I think most of the time, though, users (at least my myriad nontechnical ones) will want it out of their way.
So maybe what you're suggesting is that the popup appear beside the textarea? If it were normally hidden and came up beside the textarea only when needed, I could get behind that. Presentation of the popup like a separate issue, though.
Wouldn't it be cool if it would read the tag's available options and let you build the tag with a form? Now I'm getting really far off topic! :-)
Popup.js includes support for draggable windows. It would be trivial to enable this.
I added it as part of a toolbar in the prototype. Check it out. Still kind of rough, but I didn't want to go too far without others' buy-in.
Any feedback on this, yet? Tag insertion is unimplemented so far. I'm thinking it could be simple: If you have text highlighted, it wraps the text in that Radius tag. Otherwise it just inserts the tag self-closing.
saturnflyer
Wed Oct 07 06:15:54 -0700 2009
| link
I've only been able to take a cursory look, but it looks good. The reason I'd prefer an insertion to the side of the textarea is because it keeps the reference out of the way. Even if it is draggable, it still may cover an area that you'd want to be able to read while looking at the help window. I think, however, that this could be something that we try as a draggable window and see how people like it. But I'd personally be quick to hack some configuration to allow it to be docked.
And I think the window ought to have some way to select other options. For example, there is not much difference between a snippet and a radius tag and I can see a situation where a user would want to insert something, click on the radius icon, then remember that it's a snippet, close the window and open the snippet window. If it had some internal navigation for additional options, it'd be easy to add something to include site assets too. So I guess by that measure the image icon could open the window with the assets pre-selected.
I want to add something that references the available options for the radius tags so that we'll be able to include that in the code as in this branch http://github.com/indexzero/radiant/commit/794a5c22a32560a6ed46d4f2984494226a553a9c (although I plan to clean that up a little)
-
1 comment Created about 1 month ago by jlongAdd Javascripts and Stylesheets tabs0.9.0 maybex -
2 comments Created about 1 month ago by seancribbsAbility to change order of page parts as displayed in the editor0.9.0 maybexIt would be useful (for obsessive compulsive folks) to be able to change the order in which the page parts are displayed.
(originally lighthouse #7)
Comments
-
0 comments Created about 1 month ago by jlongAdd tag and filter references to Snippets0.9.0 maybexThis should be implemented basically just like the the page parts interface
Comments
-
This should be implemented basically just like the the page parts interface
Comments
-
0 comments Created about 1 month ago by seancribbsJavascript to stop you from navigating away from a page with changes0.9.0 maybexIt would be nice if the page/snippet/layout editor used some method of preventing a user from navigating away from a page when unsaved changes have been made to that page.
(formerly lighthouse #6)
Comments
-
0 comments Created about 1 month ago by jlongMake it so that pages are only cached for GETs0.9.0 maybexBy default pages should only be cached for HTTP GETs. POSTs should invalidate the cache for that page.
Comments
-
1 comment Created about 1 month ago by radiantAllow a user to reset their password0.9.0 maybex -
1 comment Created about 1 month ago by jlongAllow a user to login with their e-mail address0.9.0 maybex -
5 comments Created about 1 month ago by jlongAdd a "quick preview" button for previewing pages on the dev site0.9.0 maybexComments
Like "View page after saving" checkbox in Chronicle? Seems like you'd only ever want to preview after saving.
Or do you mean like the View Site button that's been in the upper-right corner forever?
saturnflyer
Wed Sep 30 14:15:46 -0700 2009
| link
I'd think we'd want button/link to view on the live site as well. More often I've just wanted to open a window for the page I'm editing.
But I think this could get tricky if labeled "preview" considering the possible meanings of that, such as "view before saving".
-
2 comments Created about 1 month ago by jgarber0.9.0 maybexLet extensions declare Radiant version compatibilityjgarberxMy suggestions for requirements:
- Extension authors have a way of specifying a minimum Radiant
version with each release/revision of the extension.
- Extensions not be dependent on authors to specify compatibility
with newer versions of Radiant. If the extension was last updated in
2008 but it works for 0.8 without changes, you don't have to do a
thing. I want to avoid the Firefox Add-ons problem where I upgrade FF
and my extensions are disabled because their authors are behind the
curve. Too pessimistic for my tastes.
- Perhaps some way of the community saying, "this extension needs
fixing before it will work with 0.8." And a way for the extension
maintainer to clear that note once they make the upgrade. (Maybe just
an all-users-writable text field per extension in the registry)
- The extension install script installs the latest compatible
version of an extension.
- Easy upgrades. One command to upgrade Radiant and all my
extensions.
See the discussion in the thread at http://lists.radiantcms.org/pipermail/radiant/2009-June/013139.html
The ray extension might offer some possibilities. We may also want to enhance the ext registry app.
Comments
i doubt ray will offer any possibilities really. the version compatibility in it was written to address the specific use case saturnflyer had and nothing else (and that was a quick hack). not to mention the philosophy behind ray and radiant's built-in extension management is pretty drastically different.
personally i'd like the version compatibility to not be tied to the extension registry so that ray could use the same information to handle this better than the current implementation (and not add even more manual labor to maintaining ray's extension list).
- Extension authors have a way of specifying a minimum Radiant
-
This will mostly require merging the updates to Radius from: http://github.com/aemadrid/radius19/
Comments
-
1 comment Created about 1 month ago by seancribbsAllow users to rename parts0.9.0 maybex -
0 comments Created about 1 month ago by jlongPage type should only be set when creating, not editing0.9.0 maybexChange the interface so that the page type is set when you create the page, not when you are editing.
On the page index the "Add Child" buttons should be changed to a drop down menu of page types:
Add Child v
- New Page
- Archive Page
- Archive Day Index Page
- Archive Month Index Page
- Archive Year Index Page
- File Not Found Page
Ultimately this will allow pages to modify the page editing interface based on their type.
Comments
-
0 comments Created about 1 month ago by jlongModify URL tags and ad Path tags0.9.0 maybexChange the url tags to operate on and return the full URL. Add a new set of path tags for the case when you just want to work with the path.
This would mean that <r:if_url>, <r:url>, and friends would all work off of the full URL (beginning with "http" and ending with any URL params "?param=value&etc", while <r:if_path>, <r:path>, and friends would operate off of the path for the page ("/parent-page/slug/etc").
Also rig up a migration to change the old <r:if_url> tags to <r:if_path> tags, etc.
Comments
-
3 comments Created about 1 month ago by jlong0.9.0 maybexProvide a way for filters to create their own toolbarsjgarberxShould probably be implemented at the same time as #33
Comments
I did it in the prototype. Check it out. Still quite rough, but I didn't want to go too far without others' buy-in.
Any feedback? I still need to:
- Rework link and image insertion code from the textile_editor extension. Currently disabled because it had a namespace conflict.
- Add Markdown support
- Fix a few insertion bugs
- Generally refactor the whole thing :-)
Quite a bit to do yet, so that's why I'd like to hear if you like the direction it's headed before I continue.
-
0 comments Created about 1 month ago by seancribbsAdd callbacks to javascript page parts adding/selecting functions0.9.0 maybexSomething like this:
var TabControl = Class.create({ [skipped]
select: function(tab) { [skipped]
this.select_callback(tab.label);
},
select_callback: function(pagename){}, });
Ed. IMO it would be better to fire custom events. Like tab.fire("tab:selected") or something. Then you can just observe.
(originally lighthouse #45)
Comments
-
0 comments Created about 1 month ago by jlongHidden pages should not show up in queries made by tags in dev mode.0.9.0 maybexHidden pages should not show up in queries made by tags (like <r:children>) in dev mode. Note that hidden pages should still be accessible via URL in dev mode.
Comments
-
0 comments Created about 1 month ago by jlongUpdate the user index under settings0.9.0 maybexI'd like to see something card style, perhaps like basecamp. The person's gravatar should be shown along with their name, username, roles, and possibly the notes on the person.
Comments
-
0 comments Created about 1 month ago by jlongMake block indentation work in Internet Explorer0.9.0 maybexComments
-
4 comments Created about 1 month ago by jlongClicking on a tab should focus on the associated text area0.9.0 maybexComments
custom events should probably be fired from the tab control that can be trapped by other javascript
i have focusing on the associated textarea when clicking a tab working but was wondering if there a preference for placing the cursor at the beginning or end of the textarea.
also i don't understand what the focusing has to do with custom events...i just hooked into the select function which captures clicks on the tabs. surely i'm missing something here.
Do we need to worry about where the cursor is? Don't text areas keep track of that information on their own? What happens by default?
About the custom event comment: I was thinking that the TabControl object could fire a custom event like "tab:selected". You could then trap this event in other javascript (specific to page parts) to focus on the textarea.
But perhaps a custom event is not needed in order to make it generic. The code could just set the focus on the first select, input, or textarea within the tab control. I'm guessing that if we used the tab control in other places that we would want it to work in the same way.
By the way, in regards to the TabControl code being as generic as possible, I think some parts specific behavior has snuck in their recently. We should do what we can to remove that if possible.
i don't see any browser that tracks the cursor position between changing tabs; my guess is that the cursor is left in the hidden tab when you change.
the default behavior for
textarea.focus()is to place the cursor after the last character (at least in all the mainstream browsers i tried). -
0 comments Created about 1 month ago by jlongOn the extensions tab, change the "website" link to "more info"0.9.0 maybexComments
-
0 comments Created about 1 month ago by jlongWhen extensions are generated, change the generated url attribute to point to a wiki page for that extension0.9.0 maybexThis will encourage people to put documentation for their extension on the Radiant wiki
Comments
-
0 comments Created about 1 month ago by jlongHave "Save and Continue Editing" do an AJAX save0.9.0 maybexPopup a statusjs message during the save
Comments
-
Partially implemented in the prototype
Comments
-
2 comments Created about 1 month ago by ihokaRake fails when having the cucumber 0.4.0 gem installed0.9.0 maybexRunning
rake -T
rake aborted! undefined method `feature_pattern=' for #<Cucumber::Rake::Task:0x1aba814> /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/Rakefile:10
The lines raising the error are in "radiant/lib/tasks/cucumber.rake:13" and "radiant/lib/tasks/rspec.rake:76":
t.feature_pattern = "#{RADIANT_ROOT}/features/**/*.feature"Commenting them out makes it possible to run rake tasks, although I expect it breaks the running of Radiant's features.
Cucumber has changed the way you specify the files containing features. From the cucumber History.txt file:
=== Removed Features * The feature_list, feature_pattern, step_list and step_pattern properties are removed from the Rake task. Use profiles instead. (Aslak Hellesøy) * The FeatureTask is removed. Use profiles instead.
Comments
roblevintennis
Sun Nov 15 16:00:21 -0800 2009
| link
I've had problems with this too! I don't know or understand Radiant enough to create a patch, but it seems that Radiant will need to somehow use Cucumber profiles and get rid of this feature_pattern.
Otherwise, couldn't the Radiant source somewhere say:
gem 'cucumber', '< LOWEST_NON_WORKING_GEM_VERSION_NUMBER' (i.e. 0.4.0 or something?). Looking at my pickaxe page 230 it shows such an example which uses < 1.0 and so the gem loader will essentially consider only the version < 1.0 that's on the system even if higher version are also available. This would allow us to keep our 0.4.+ version of Cucumber, and simply install an additional earlier cucumber and all would be (at least for now) solved.
roblevintennis
Sun Nov 15 16:12:02 -0800 2009
| link
Actually I just added this inserted into line 4 of cucumber.rake:
gem 'cucumber', '0.3.104' And it just worked! Of course first I had to do:
sudo gem install cucumber --version '0.3.104'
which appears to be the version just before 0.4.0
My hack is horrible as it uses a specific gem version. I think the less than gem 'cucumber', '< SOME_VERSION' is better for whoever would want to put a 'band aid' on this until Radiant gets properly patched. -
10 comments Created about 1 month ago by jgarber0.9.0 maybexAPI for draft/versioning extensionsjgarberxRight now you can't work on and preview a draft of a published page. If you switch a page to draft, it goes off the live site. Would like to see concurrent drafts in core.
Sean said, "...And I totally agree about keeping a draft concurrent with the live version, that seems to make everything easier. Let's give it some serious thought, prototype some things and see what pans out. If you'd like to have a sprint/hack day sometime in the next few months, let me know!"
I'll prototype in a branch of my fork.
Comments
I've been using the radiant-concurrent_draft-extension for this feature. It definitely gets the job done but is a bit awkward in a few areas.
http://github.com/avonderluft/radiant-concurrent_draft-extension/
My branch (that I've made work on edge) is at:
seancribbs
Fri Oct 02 07:17:21 -0700 2009
| link
concurrent_draft's awkwardness comes primarily from specific needs that Con-way had in their customized Radiant. The concepts should transfer well, but I'm also leaning toward chronicle's way of working with this.
whistlerbrk
Fri Oct 02 10:49:07 -0700 2009
| link
Is this up for discussion to be included in core? We / I have found that every client/team has different workflow and revisioning needs. So I'd prefer enhancements to the current implementation be in an extension.
Creating more places for those extensions to hook into Radiant to add these behaviors, could be important - but I don't know if that is a problem with the current set of workflow extensions out there.
whistlerbrk: I perceive that the core team is committed to keeping core down to the barest essentials, so don't worry. This enhancement is really filling a gap that's been there from the beginning. Unless your workflow is, "when we are working on a published page, we give visitors a 404 page for a few hours," then you won't even notice this enhancement if you don't want to. (a little humor there).
All this enhancement will do is let you change the status of a published page to draft without the page disappearing from the live site. The page then shows in its published form on the live site and in its draft form on the dev site. If you don't want to take advantage of that, never switch a published page to draft--which you wouldn't have done without this enhancement, I hope. There'll be no revisioning or other changes to workflow.
whistlerbrk
Sat Oct 03 11:50:30 -0700 2009
| link
Oye, I completely misunderstood the ticket, you're right of course, sorry!
jlong and I talked about putting an API in core so that concurrent_draft, chronicle, page_versions, and any other extension can do its work more easily. Sounds like a great idea to me. I've changed the title of this ticket to reflect that.
multi_site would also fit neatly into this API category. I'm supposed to talk with Will Ross at Spanner about it sometime. Wouldn't it be neat if there were enough underlying hooks in core that extensions like chronicle and multi_site wouldn't conflict with each other and wouldn't require custom versions of about every other extension?
seancribbs
Thu Oct 22 13:04:13 -0700 2009
| link
I'm not necessarily sure that it's related, but I have a vision of making extensions more declarative and less imperative -- allowing essentially hooks into the internal API rather than direct modification via #activate. This would allow us to potentially serialize customizations and reduce the number of conflicts.
I want to hear more, Sean! Either write it up somewhere or let's Skype in the near future.
Will and I had a nice chat on Skype. I'm going to make a branch to work on it. We'll have extensions just declare what validation and finder scope they need for pages. Multi_site can declare site scope. Draftable can declare status scope. They can all play together nicely as long as Rails' nested scopes work as advertised.
("Draftable" is my plan to split that simultaneous draft functionality out of Chronicle into its own extension. Then Chronicle can just handle versions)
-
1 comment Created about 1 month ago by jgarber0.9.0 maybexLet extensions declare dependency on other extensionsjgarberxBecause sometimes extensions modify the behavior of other extensions. The dependent extensions' migrations should be run after the others.
Comments
(commenting mostly so i get emails about this)
here is how ray has handled this for a while now:
http://johnmuhl.github.com/radiant-ray-extension/#extension-dependenciesi tried to keep the barrier to entry low enough that end-users could fork an extension and contribute a simple self-contained patch back to the maintainers. it can cascade nicely so extension A can depend on B which can depend on C and on and on.
if there is any way to make the mechanism the same between ray and
script/extensionthat'd be great; and i'd be willing to change ray if a better way can be found. -
add some css to give more indication than what browsers provide by default.
Comments
for people who tab through the interface instead of pointing and clicking
Would a simple underline or removal of the underline on the link work?
in some cases. but what about the interface tabs? would you add an underline to "Content"? i was thinking that you'd just duplicate the :hover styles throughout.
Duplicating the hover styles sounds good. Can you work this out in the prototype and then copy it over into the app?
-
0 comments Created about 1 month ago by jlongBreak Radiant into several different extensions0.10.0xThe core should be broken out into several different extensions, I'm not sure if this is the exact split that we want, but something like this:
- Users/Permissions
- Snippets
- Layouts
- Pages
- Settings
- Generator?
This way, once Radiant extensions can be used via gems, we will be able to replace parts of the core with ease (ex. the Users/Permissions model a more fine-grained Access/Control model).
Comments
-
0 comments Created about 1 month ago by jlongAllow extensions to be loaded via Gems0.10.0xThis is part of the over all strategy of breaking Radiant into several different extensions that can be used interchangeably with other extensions that provide a more robust features.
Comments
-
Region Sets should share a common API with the new tabs
3 comments Created about 1 month ago by whistlerbrkSince the navigation api is different, I believe the region sets implementation should be updated to share a similar API.
Additionally, I've noticed that when a region set is overridden the original region set still renders even if it is not displayed. That seems inefficient.
Finally, as I've brought up on the list, two extensions modifying region sets can create interesting load order problems. Is there a way we can adjust region sets (not my hack/patch) to allow referenced but unloaded regions to be created before their dependents are inserted. Problem detailed here:
admin.something.add "foo", :after => "bar"
if "bar" doesn't exist and is created by another extension, this will insert "foo" at the beginning of the region instead of waiting for "bar" to be created.
Comments
saturnflyer
Fri Oct 02 10:06:58 -0700 2009
| link
What about just creating the empty region "bar" and changing add to check if it is empty, and if so, replace it with the one being added (else, error)?
whistlerbrk
Fri Oct 02 10:44:09 -0700 2009
| link
Which is what the patch I sent out essentially does, but it felt dirty.. I can / will clean that up.
But as a whole, updating the region sets would be nice.
This is something else I've run into:
` %table.index - @weights = [] - render_region :extensions_model_columns do |columns|
- columns.name do - @weights << 4 - columns.description do - @weights << 2 - columns.controls do - @weights << 2- @weights.map{|x| x*(100/@weights.sum)}.each do |width| %col{:width => "#{width}%"}
...
%tbody
- if @my_models.any? ... display ... - else %tr{:class => "empty"} %td.note{:colspan => admin.my_extension.index.length} No Records!`
Ideally an internal variable could keep track of the 'weights' so there is a known pattern for extensions to cleanly add a column to a table w/o screwing up table sizes. The implementation above has worked for me, but I know it breaks down (as described above) when a region set is overridden (as it renders regardless and will add weight to @weights)
whistlerbrk
Fri Oct 02 10:45:11 -0700 2009
| link
sigh markdown
-
Hi all, I am looking forward to use 0.8.1 for my company website. I have some trouble though:
The admin interface breaks as soon as I start to edit a page: ActionView::TemplateError (undefined method `name' for #<Hash:0x2a9aeccd30>) on line #1 of /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/app/views/admin/page_parts/_page_part.html.haml:
The site creates strange links: they contain error messages. Here is an example:
http://www.die-prozessmanufaktur.de/de/seiten/de/<div><strong>undefined method 'relative_url_root' for#<ActionController::Request:0x2a9b57e7c8></strong></div>
Any help is greatly appreciated!
Thanks,
AndreasComments











come on! a cms in version 0.9 without any internationalization its just useless ... no?
Definitely something I would consider a "must have" for 0.9.0.
Internationalization was originally scheduled for after 1.0
I agree with jlong. There is no need to bake in i18n right now. Once radiant is feature complete wrt other CMSs, then i18n can be attempted.
Really? There have already been 3 occasions for me where I have been unable to recommend Radiant due to lack of internationalisation. I also believe questions about it pop up relatively regularly on the mailing-list [citation needed]
Regardless of the original Roadmap I think the sooner internationalisation is in Radiant the better.
My $0.02
Keith Bingman has shown that i18n is achievable in the near term. If you want to see it happen, don't complain, contribute.
@rurounijones: I agree i18n is better than no i18n. But when there are important features waiting to be implemented, one must focus there. Especially so if resources in terms of developers and contributors (translators even) are limited.
I have it basically working with the Blade interface. Please give me a hand and we can get it in for 0.9. Monday I will be tackling extensions with a friend of mine. i18n is not that hard and very much needed as soon as possible.
as a european user, internationalization is indeed an important feature. I also have a project coming that would benefit from this.
I18n is also a very important feature for me as a european user. Without it, it's hard to sell radiant to non english speaking customers ...
But it would not be a good thing if I18n was integrated without proper thinking. You guys have done a great job so far, so keep the good pace, I trust your judgment.
Please check out the i18n Branch. It should be working with the Blade interface now. And we have translations for German, Russian, Japanese and French. I am still looking for especially Spanish and Italian and really anything else. You can fork the Branch and let me know.
Does this allow extensions to provide translations for any UI components that they add?
Unfortunately, no. But I think I know how and that is the next thing to do on my list. I should actually have time this weekend. On Monday, my boss and I want to pair up on it, we need it for a site we are doing, so that should help.
However, this is an area where I need some help.
looking at this link, I think this should be pretty easy. If I remember correctly, Spree has a very similar extension system. You can specify multiple load paths, which is basically all we need. I will look into it tomorrow.
http://spreecommerce.com/documentation/i18n.html
Keith has committed to taking this bull by the horns, so internationalization is now part of the official commitment for 0.9.0.
This is a great news !
nice to hear that! if you need a german translation I am willing to contribute :)
If you'd like to contribute, fork the i18n branch and submit pull requests to kbingman.
jlong:
Just done i18n for paperclipped on i18n branch. Everything is translatable.
http://github.com/antono/paperclipped/commit/5b778abe136978b547e078fcfef941b3da6db142
i18n seems to be enough stable but need rebasing on master branch.