Closed (fixed)
Project:
Internationalization
Version:
master
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 May 2006 at 16:55 UTC
Updated:
28 Mar 2008 at 21:42 UTC
I am trying to get this module to work here: http://www.sbbic.org/drupal-4.7.0/
The problem is, I can't figure out how to have a normal "node" page (with all the stories and things all on one page). All I have been able to do is create two separate nodes for each language, but they only include one story (or page depending on what I make). I've seen other sites using this script have a muli-language "node" page (with all the news and things displayed together) - but I don't know how.
Could anyone walk me through this?
Thanks,
Nathan
Comments
Comment #1
Marc Bijl commentedNot sure if I understand you're question quite right, but I think -and hope- you're after this:
- path to english node page: en/node
- path to khmer node page: km/node
Comment #2
sungkhum commentedThe problem is that neither of those paths actually come up with any content besides the "Welcome to your new Drupal-powered website" page - even though there is content that should be on the main page.
Comment #3
sungkhum commentedOk, I got some more of it to work. The "Content Types" settings were not multilingual (so the "Translate" option wouldn't show up).
But I still have this problem:
I can't get the default node to show up (the page that displays all the other nodes that I push to the front page [like stories, books, pages]).
Anyone know why that is?
Thanks,
Nathan
Comment #4
sungkhum commentedThe whole problem was that multilingual posts were not enabled - now the story shows up on the main page.
So no more problem!
Thanks!
-Nathan
Comment #5
heine commentedGood it's fixed :)
Comment #6
smhar commentedIn my previous 4.6.6 site, the front page used to show up autotmatically every time some one accesses my site displaying the list of entries set as promoted to front page. But now all they see is the 'Welcom' page. I checked the settings and they are as follow:
In Home » administer » settings
Default front page: node
setting it to en/node just gives page not found instead of the 'Welcom' page.
I can set it to specific nodes like node/1 node /2 and it works fine
In Home » administer » settings » i18n
* Front page: Language dependent
In Home » administer » settings » content types
All types; blog entry, page and story have:
* Default options: Published and Promoted to front page checked
* Multilingual support: Enabled
if I disable i18n modules the front page works fine otherwise it just shows the 'Welcome to your new Drupal website! page. I checked the logs and found these two php errors repeating whenever I try to access my website:
1) Unknown column 'i18n.language' in 'where clause' query: SELECT n.nid, n.sticky, n.created FROM node n LEFT JOIN i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND n.promote = 1 AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 10 in /home/smhar/public_html/blog/includes/database.mysql.inc on line 120.
2) Unknown column 'i18n.language' in 'where clause' query: SELECT COUNT(*) FROM node n LEFT JOIN i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND n.promote = 1 AND n.status = 1 in /home/smhar/public_html/blog/includes/database.mysql.inc on line 120.
I am not sure if this helps
Comment #7
sungkhum commentedSince you are missing tables...I would try to re-install i18n
After that, post something new (like a page or story), and make sure it uses a language (then translate it). Or edit something old you put up and make sure to select a language (you shouldn't have to select a language all the time, but this is just for testing).
I had this same problem - but once I enabled multilingual pages (in admin/settings/content-types/page) it allowed me to have en/node and km/node (km for Khmer).
Hope that helps,
Nathan
Comment #8
smhar commentedI really don't know what you mean by re-installing it, as the first time I installed it, it didn't have anything special like patches as were there in pre4.7 time, or anything related to creating tables in install.txt file so my 're-install' would be just 1) disable the modules, 2) remove the module files, 3) upload new module files, 4) configure the modules in admin > modules and in admin > settings. All of this I had done before and did it again too.
I edited and resubmitted my old post but still they didn't show in the front page. I even created 'this is a test page' post but still it didn't show up.
I still don't know what to do.
Comment #9
sungkhum commentedThat should be fine then.
What choices come up in the Language dropdown bar when you post something new?
Can you test the localization menu in the admin and see if you can translate some terms (just to make sure your installed language is working)?
I might be able to help if you would give me your site url and give my user admin privs - I assume you are testing still, and then if I can fix it just remove my user.
That is up to you though.
Comment #10
sungkhum commentedI just thought of something...on your translated post, did you remember to click "Promoted to front page"?
If you don't, then the translated main node will still have the welcome page.
Hope that fixes it.
-Nathan
http://www.sbbic.org
Comment #11
smhar commentedWhen I create new posts, the lnaguage 'drop down bar' has 'English' set. Other options are Arabic and ' ' - blank.
When I manually enter the url : http://www.mishkah.org/blog/?q=en/node/1 or http://www.mishkah.org/blog/?q=ar/node/1 , the language of the navigation menu changes accordigly.
and yes, all the post are 'published' and 'Promoted to front page'
Comment #12
smhar commentedohh, and what about the missing tables? how did they end up being missing in the first place? I was using only release modules. and how to create them?
and as a final solutions, if nothing work: should I just install 4.7 from scratch and try to 'inject' the old posts and comments into the new database? -I really don't know how to do that :-)
Comment #13
jose reyero commentedLooks the the original question was answered, though this is fixed, please reopen new issues for other questions, this is hard to follow :-)
Comment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.