Module request - Multilingual G3
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
For us Europeans, this is a critical piece and should be part of the core. However, it has been suggested at http://sourceforge.net/apps/trac/gallery/ticket/1101 that this is something that needs to come as a contrib. So, question, please is anyone working on this? SoosKriszta |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Not field of dreams anymore. Gopu is working on a module http://sourceforge.net/apps/trac/gallery/ticket/1101 SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Hi, In context menu, you have "multilang edit" option Upon clicking the context menu you will have multilang edit page, listing the locales installed in gallery3 and the multilang details Beside the above, there will be UI blocks for sidebar for both user and admin, showing alternative languages that user can choose for a photo or album. Please let me know your comments. -------------------------------------------------------------------------------- |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Thanks! This is a much needed functionality. In your example, what does "Add" refer to? (as in Add: Italian). You seem to have 4 languages installed, so why not just: Edit English (UK), Edit English (US), Edit German, Edit Italian? I see that you have title, description and Internet address up for "multilingual edit". I think so should tags be. Also, I assume you are leaving filename and created (photo) and directory name, sort by, order and created (album) to be edited in the "normal" edit. Which language does the "normal" edit's title, description, internet address and tags populate? I would recommend "ALL". Then user should be able to go and make changes/translate. Another option would be hook into the Google Translate API and translate the "normal" text to each available language...and then all the user has to do is "Edit" i.e. make corrections.... SoosKriszta |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
gopu, Dave |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Thank you both for the inputs !!! Actually the Add here means the user has not added any multilang info yet for the language. Once he adds then next time it will be edit. Let say you have installed a new language. But however this creates confusion then we can remove it. All the non-language specific properties like filename, sort order etc can be edited through standard Edit. Yes, using Google Translate API is certainly in my TODO list, but after releasing the first cut. -------------------------------------------------------------------------------- |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Gopu, in the first version, I'd recommend just copying the "default" fields into the language fields. Tags should be multilingual too...different languages will have different tags..not about how many tags are permitted...it is confusing for users to combine language tags... Looking a bit ahead...gotta start thinking about reviews too...if a customer writes a review on a German page, it should appear only on the German page...although the rating (stars) should cut across languages.... Once again, many thanks for doing this... SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
So, are you sure we should not have "Add" ??? For the tags and review requirement, the tags and review are tied with ITEM-ID I am not sure how it can be done without doing everything (tag and review) as part of multilang module. -------------------------------------------------------------------------------- |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Well I have different take on Review.. |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
gopu wrote:
Well I have different take on Review.. That's why we need to think of review as composed of 2 different elements - ratings (stars) and text review. SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Got you ! BTW, I am having the GOOGLE language translator in first cut itself as I realized its not that time taking. |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
You mean beside "Internet Address" which is used to form URL of the item, the filename also should be multilingual ??? You mean this is needed to be multilingual because SE uses it for image search indexing? -------------------------------------------------------------------------------- |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Filename is not critical, I think, though good to have. The URL and title are the most critical. And of course, tags and descriptions. SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Make sense We will have filename also but not in first version. Because it has a potential to delay things, as it would need lot of testing. Version 3 -------------------------------------------------------------------------------- |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
I see no problem here actually... For the multilingual filename feature, the user will be given three options: Please note the default filename will always be present, will always be resolved correctly. For first version, it's always (1) above... but that will be taken care in the coding. In second version when you have multilingual filename, you can give new filenames... The item/album URL is never changing anyway... the image URL will change, if want to change it -------------------------------------------------------------------------------- |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Quote:
your 1 is the point No, the default file name will still link to the right item. Because the default file name will still exist in DB for the item in items table. I know why you doubt it, its too technical to answer here in detail. However the point below, I did not think about this. Quote:
if multiple URL point to identical content - then we get identical content penalty from G But the above is also TRUE for (2)... because then two image URL will point to same image For (1) - the image file URL will remain same for all language -------------------------------------------------------------------------------- |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Ok... will do some more research then let you know -------------------------------------------------------------------------------- |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Hi sooskriszta, Would you be able to find some half an hour to give me a second view on the module? Please note the following: Things I am working on: Please let me know |
|
Michel MOMAL
Joined: 2010-10-14
Posts: 1 |
![]() |
Very good work, |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Thanks Michel .... |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Hey Gopu, Sorry, been away. Will be available for testing and providing an additional pair of eyes through the weekend. SoosKriszta |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Looks good so far. How do I do a multilingual edit for the root album? SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
You can edit the root album using the Multilang Sidebar ... Now I am in testing mode. I am planning to upload the source code as soon I am done with that. -------------------------------------------------------------------------------- |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Cool! Google translation is not really critical for v1. Can you copy over the default language text into other languages so that these pages are still shown in other languages even if no "language" text has been input? SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Yes, that's been done ... let me know. |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
Tags are important, as both search engines and users see them. Personally, I'd rather wait a week to have the tags... SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Hi Hans, Regarding image file name, please note the following: All the three can be done... For (2) - The content wise the URL is different, however two image URL points to same file... there could be duplicate content issue if GOOGLE checks for image URL For (3) - there is NO duplicate related issue. So, as I stated before, the option (2) could be problem... but (1) and (3) is fine. I hope I am clear... let me know if you think I am missing something. -------------------------------------------------------------------------------- |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
I think hans51's point regarding filenames is that the more items match (title, h1, url, filename, etc) the better it is for seo. I do (completely) agree with that. However, I am inclined to believe that with G3, multilingual image file names are not possible - not in v1, not in v50. Thus, we have to decide which 1 among the 10 languages we have installed, is the "main" language, i.e. the one which will get the ever so slight additional advantage in terms of SEO compared to the other languages. While the situation is not ideal, I think the solution you are bringing to the table, Gopu, solves 99% of the problem, is very good for SEO, and is the best that can be done with G3. One question: What happens if 2 languages have the same URL for an image/page...? SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Quote:
However, I am inclined to believe that with G3, multilingual image file names are not possible - not in v1, not in v50 I have checked, it's possible. Multilingualizing filename has two reasons: For (1) it's easy to implement. All that is required is to create a link filename for the actual file -------------------------------------------------------------------------------- |
|
gast2
Joined: 2010-10-19
Posts: 19 |
![]() |
I have downlodaded the version from 28.8. Thank you! It is verry nice and it work. I like this feature verry much and I can use it. But others will have maybe some problems, so I would only tell you. |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
gopu wrote:
For (1) it's easy to implement. All that is required is to create a link filename for the actual file You mean redirection? I would imagine duplicate content issue would neutralize any SEO advantage there to be gained out of this. SoosKriszta |
|
OC2PS
![]()
Joined: 2010-09-08
Posts: 428 |
![]() |
hans51 wrote:
Right now with gallery 2.3.1 ALL SEO relevant a.m. parts are fully matching = full SEO success Not so. G2 doesn't allow access to image folders, which by itself is detrimental to SEO. Another, unforeseen problem, which I have actually faced, by the way, is that if a competitor marks your images as unsafe and even a tiny proportion of your images fall into the grey area, then forget about SEO, SERP...you wouldn't appear in image searches at all (unless the user turns safe search off, which no one does)....in order to get your images back into search results, you need to provide Google the image folder containing the "grey" images, which you cant do in G2. So there! SoosKriszta |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Quote:
You mean redirection? I would imagine duplicate content issue would neutralize any SEO advantage there to be gained out of this. No, its not redirection... it's file system manager thing. something that's taken care by file manager. -------------------------------------------------------------------------------- |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
hi gast2, The one I published earlier is for test only. It's not supposed to be used for production... I figured out some bug myself, which I fixed. Also, I did not get the problem that you have mentioned. Would you be bit clearer? thanks. |
|
gast2
Joined: 2010-10-19
Posts: 19 |
![]() |
I have set default language to russian and installed german too. |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Thank you gast2, I could reproduce the bug and fixed it. -------------------------------------------------------------------------------- |
|
gast2
Joined: 2010-10-19
Posts: 19 |
![]() |
A question: Would it be possible to change the dialog of editing instead create a new one for multilanguage? Because now you can load up photos the you have to fill in information in default language and later you can translate it. When there is a possibilty in the editing dialog similar to this one in multilanguage with two or more langauges and the default on top you can complete all information at once. |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
hi gast2, it's possible... will think about in later version... In first version my focus is on SEO - anything that will help SEO. -------------------------------------------------------------------------------- |
|
gast2
Joined: 2010-10-19
Posts: 19 |
![]() |
I´m not sure if it is a bug from multilang or from gallery them self. |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Hi gast2, Second priority - User locale i.e. the locale stored through COOKIES in browser - irrespective of whatever is default locale. For example For example the URL http://www.mysite.com/gallery/rose will show pages depends on the user locale. For spanish it's spanish, for german it's german... and if there is no user locale set, it will show in default language Third priority - Default locale if the URL is non-multilang URL (i.e. default URL) and the user has not set any locale using Gallery language preferences Besides this, for any item if for a particular locale multilang info not set, it will show the default information. For example, say you have URL http://www.mysite.com/rose/beautiful_rose May be it's difficult to understand... once I send you the latest drop for testing it will be easier to understand. |
|
gast2
Joined: 2010-10-19
Posts: 19 |
![]() |
I have setup a test gallery for testing. http://vkw.square7.ch/gallery |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Hi gast2, -------------------------------------------------------------------------------- |
|
gast2
Joined: 2010-10-19
Posts: 19 |
![]() |
You are not right! Because default language are russian. If you switch beetween the languages you will see a english titel if you choose englisch a russian if you choose russian or german if you use german langauge. |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Possible !!! However I dont see any code in Gallery3 responsible of doing this. -------------------------------------------------------------------------------- |
|
gast2
Joined: 2010-10-19
Posts: 19 |
![]() |
Could you investigate something? |
|
Vojtech
![]()
Joined: 2009-06-22
Posts: 35 |
![]() |
Gopu, thank You very much! This is last module I need to be absolutelly happy with my gallery! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I don't see any documentation for this module. Is there any volunteers to contribute back to the community that can assist with this? I can help but looking for somebody that has actual experience using the module. We can't expect the developer, gopu, to do everything, they have given much already. Dave |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Vojtech, you mean importing multilang module details of G2, right? First version will have things that will boost up your SEO. -------------------------------------------------------------------------------- |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
Request for testing: What's new from the last release to test? [img]http://gallery.menalto.com/files/multilang-sidebar.png[/img] multilang filename is not added yet, that's the next SEO work. Those who wants filenames to be multilang, need to wait for next release. Please note this module requires in-depth testing, because this is to do with SEO. If there is a bug then it may adversely affect SEO. -------------------------------------------------------------------------------- |
|
mr_hyde
Joined: 2009-09-20
Posts: 46 |
![]() |
thanks for the update. I have installed it over the older version in this thread. However, i don't see the sidebar as soon as i have installed your module (with or without localized versions activated for the sidebar). are there any other prerequisites for the module? I am using gallery3 version 41 |
|
gopu
![]()
Joined: 2009-08-28
Posts: 137 |
![]() |
mr_hyde, please note the DB has been modified. To see the sidebar you need to select the "Localized Version" block in Admin->Appearance->Manage Sidebar -------------------------------------------------------------------------------- |
|