odove Registered Users
 Nuke Wiz Posts:151

 |
| 6/18/2008 10:14 PM |
|
I understand NA is not multilingual based at this moment. But I think it should be able to at least have language parameter showing on the url for a site using multiple languages. Just like Property Agent, it shows the language parameters correctly, no matter it's the listing view or the detail view.
But with news articles, it's quite confusing. Not only it generated a lot of duplicated pages but also people get lost when navigating the site ( they can not stay in one locale). Here are what I've found so far.
Have language parameter on the url ? - Always YES:
/Cate1/Cate12/tabid/xxx/articleType/ArchiveView/month/11/year/2007/language/en-US/default.aspx ( Date View )
Have language parameter on the url ? - Sometimes YES, sometimes NO:
/Cate1/Cate12/tabid/xxx/articleType/AuthorView/AuthorID/x/language/en-US/default.aspx (Author View)
/Cate1/Cate12/tabid/xxx/articleType/AuthorView/AuthorID/x/Default.aspx (Author View)
Have language parameter on the url ? - Always NO:
/tabid/xxx/articleType/CategoryView/categoryId/xxx/Ha-Ha.aspx (Category View)
/Cate1/Cate12/tabid/xxx/articleType/ArticleView/articleId/xxx/Ha-Ha.aspx (Article View)
I really hope the url thing can be more consistent.
|
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 6/18/2008 10:17 PM |
|
| It should use the NavigateUrl method which would append the language parameter. I'll check the URLs you have mentioned. |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 7/01/2008 7:01 AM |
|
I've checked the code, it does use the core methods for constructing URLs, it should be that code that adds the language parameter. Not sure if there is anything I can do. Can you tell me in which section are the urls displaying incorrectly? |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
| 7/26/2008 12:24 PM |
|
I can not agree more...
I have big problems with this. I have a multi-lingual portal, and I explain here how I set up it: Multi-lingual portal
With Ventrian News Article, language is not inserted in the article URL. This cause VERY BIG problems, because when you are currently viewing a FRENCH page, and you receive an email notification with a link to the article (for commenting an ENGLISH article), you click on the hyperlink, and you are redirected on the FRENCH home page (and not the english article...). WHY ? Just because you are not in the correct locale.... That's why News Article URL should include the language parameter (standard DNN procedure). But for sure, News Article URL does *NOT* include language parameter in it.
It would be a great enhancement, for sure. This is one of the missing feature we are currently discussing. Since I made my "multi-lingual portal webpage" to explain how I set up a multi lingual portal, I have many people contacting me, to know which problem I face, and how I solve them... This one is a problem that I can not solve alone....
Scott, any idea ?
DV FX |
|
Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 7/27/2008 5:22 PM |
|
Both the category links are calling the core method (navigateUrl):-
I'll have to do some more investigation. |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 7/31/2008 1:28 AM |
|
| So how do I make the language parameter appear in the url? I have a portal with 3 languages installed. |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/05/2008 3:33 AM |
|
| Thanks - I'll check it out |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/06/2008 9:56 PM |
|
Thanks DV, I've found the issue, I'm calling the provider directly while the core has recently added this setting which does:-
I'll put this in the article link function. |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/07/2008 9:06 AM |
|
| Can you try the latest release? |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/09/2008 6:06 AM |
|
Yes, can you go into host -> host settings and re-check the enable language parameter in url option. I have to manually check the flag in code because I'm using an earlier version in DNN and need to read from a file. |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
| 8/11/2008 8:44 AM |
|
OK, now it works ! In fact, the problem was somewhere else ! In some cases, when I update your module, I noticed that new functionnality are not working, or like if it was not working (cache like...) Even after re-starting the application it does not work... So, I have to go into each MAIN MODULE, and to update them (I open the main options, and I press Update - without making any change). And then it works. This is what happened here, now it is working great !!! But, for an unknown reason, Google is now trying to indexing my webpages as follows: domain.com /language/language/Home/articleType/ArticleView/articleId/480/Easy-install-of-Studio-12/fr-FR.aspx Very strange..... Instead of domain.com /language/fr-FR/Home/articleType/ArticleView/articleId/480/Easy-install-of-Studio-12.aspx Do you have any idea ???? iFinity (Bruce Chapman might have an idea as well ??? I am using URL Master) DV FX
PS: Complete error log, in case someone else have the problem:
AssemblyVersion: 04.08.04 PortalID: 0 PortalName: My Web UserID: -1 UserName: ActiveTabID: 36 ActiveTabName: Main RawURL: /language/language/Home/articleType/ArticleView/articleId/480/Easy-install-of-Studio-12/fr-FR.aspx AbsoluteURL: /Default.aspx AbsoluteURLReferrer: UserAgent: GoogleBot DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: 5f2518ba-32ea-41b0-904b-f33dcf7667c1 InnerException: Error Detecting locale: Info= Step 1 FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: System.Globalization.CultureTableRecord..ctor StackTrace: Message:
System.Exception: Error Detecting locale: Info= Step 1 --->
System.ArgumentException: Culture name 'language' is not supported.
Parameter name: nameat
System.Globalization.CultureTableRecord..ctor(String cultureName,
Boolean useUserOverride)at
System.Globalization.CultureTableRecord.GetCultureTableRecord(String
name, Boolean useUserOverride)at
System.Globalization.CultureInfo..ctor(String name, Boolean
useUserOverride)at
Delisoft.DNN.PageBases.MyLocale.d(TabLocalization_OptionsInfo A_0,
LocaleCollection A_1)at Delisoft.DNN.PageBases.MyLocale.d()--- End of
inner exception stack trace --- Source: Server Name: MyServer |
|
Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
| 8/11/2008 9:19 AM |
|
I've got it !!!!!!!!! Arghhhhh, it creates a side-effect (or a bug ??) if you have an installation with multiple language.... Go to an article (with the new URL), and put your mouse on the Flag.... Look the URL which is passed..... SIC !!! The problem (error in event log) is coming from here !.... Any solution/idea to avoid thousands of error log in my event log viewer ?.... DV FX |
|
Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/11/2008 3:23 PM |
|
Please be more specific and post the actual URLs. Do normal article URLs appear with the double language parameter? Can you turn iFinity OFF and see if it still occurs? I would say it might be a problem with that module. |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
| 8/12/2008 1:11 AM |
|
Hello Scott, You are right, the problem is coming from iFinity URL Master... Sic... I will contact Bruce Chapman to see whether he can do something. Otherwise, concerning the language parameters in the URL, it creates an additionnal problem, now Google webmaster tool is reporting plenty of duplicate (we have old URL working, as well as the new one...) Can you do something ???? DV |
|
Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 9/28/2008 3:29 PM |
|
| Wouldn't the 301 redirect should resolve this? |
|
Scott McCulloch Site Administrator |
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:820


 |
|