![]() |
Quote:
Sorry about that :o (Thanks!) |
Quote:
I will made today new minor release with some bugs fixed - also for tracking. If in new version you sill will have trouble PM me - describe situation and give link to your forum. |
Quote:
Sorry man - still have same problem I will PM you all my $_SERVER parameters for main page and for thread page. |
Quote:
|
1.1.1 RELEASED
What's changed: - Re-encode not translated parts, so there is no strange signs in scripts, images title etc. - Corrected flag for Sweden - Few harmless bug fixed in translation tracking and cache disabling - Respecting Google conditions, default flags title have link to Google (configurable) About last one - if you made update then it will not change your settings. So for those who like to respect Google wish this is example for flags title with Google link: Code:
Automatic Translations made by <a target="_blank" href="http://www.google.com">Google</a>: |
NLP-er, do we have to update all the files and import the product file for this update to take affect?
|
Quote:
|
Quote:
When it will be ready and working also for frums which are not in main directory (http://domain/forum) then I will start working on new release where links by default will be in new format. Do you agree if I use your code to change vbSEO? I will set your code between coments which give you credit for that and also write thanks in mod description :) |
Quote:
Yeah that sounds good. Alright I have fixed it now for the main page: https://vborg.vbsupport.ru/showpost....&postcount=181 If you are having any issues now, check your htaccess for any kind of rewrite rules on your main page. Ill start working on making it compatiable with the www.website.com/forums/lang format |
Quote:
When you include this in a release, I recommend the following: (1) Put the code T2x is working on in it's own file, for example "./includes/t2x_vbseo.php" (2) Then, simply add one line in vbseo.php, something like: Code:
include_once('includes/t2x_vbseo.php'); Plus, if anyone has a problem, they can simply comment out one line. Or, even better, you can add a configuration flag and make it so users can turn it on and off in the configuration CP. :D Code:
if (T2X_VBSEO_ENABLED) include_once('includes/t2x_vbseo.php'); |
Quote:
|
Quote:
Will start working on this when new link format will work also for forums in sub directory :) |
Quote:
It seems to be OK now (great job!), except on the main page, same as NLP-er. Cheers and Thanks! |
FYI, for those of you who install the t2x_vbseo.php code, note that you can easily 301 your original language back to the original site (to avoid possible duplicate content issues).
For example, for English create a directory in your forum root called 'en'.... then you can create a .htaccess file as follows, in that directory: Code:
RewriteEngine on |
Dear NLP-er and T2x,
This rewrite rule: Code:
RewriteCond %{QUERY_STRING} (hl=|language=)(..|zh-TW|zh-CN) Code:
RewriteCond %{QUERY_STRING} (hl=|language=)(zh-TW|zh-CN|..) |
Okay I have updated my code on page 13 to the latest after all of the fixes for the various bugs :D
Still a few to sort out but its looking very nice |
Quote:
|
how can we make this to work for addons like photopost gallery ?
|
NLP-er, you said this will translate in 42 different languages but I do not see 42 flags?
Do you if Urdu will ever be available? |
Quote:
http://translate.google.com/translate_tools?hl=en Note: Urdu is not in the list. Here is another view of the same list: http://translate.google.com/?hl=en# Code:
Languages available for translation (Google's List) |
OBTW,
If you want to see a pretty good "the lay of the land" regarding Machine Translation Applications: Visit this link: http://en.wikipedia.org/wiki/Compari...n_applications |
OBTW, I just wanted to say (it again)......
This mod is really making great strides toward a first class mod, especially considering it was released on Aug 14th. The features that have been added insure that the mod is fully configurable in compliance with the Google Terms of Service (TOS). Also, the new code under development by T2x that gets rid of the language attribute parameter and rewrites it to a very SEO friendly structure, is a leap ahead for this mod. We installed the new t2x_vbseo.php code and it is running live quite well. More interesting, is that I have noticed a difference in how GoogleBot crawls the site, and the crawling seems better with the new t2x_vbseo code. For those of you who don't know. T2x also created the original code to use the Google AJAX Search API key, which is an included option in NLP-ers version. So, if anyone has any spare change or bucks, you might also consider sending a PM to T2x and getting his PayPal account details. We certainly plan to PP some "cheese" over to him when this is all tested and running in the maze. Thanks to NLP-er and T2x for all the very hard work. When the dust settles and much of the current debugging and testing efforts cool down, we also need to look into adding at least one more optional translation service API, so the mod is not 100% dependent on one service provider. |
1 Attachment(s)
Also, I wanted to add that if anyone has any ideas how to improve the issues that this mod seems to perform (2) a lot of joins without indexes and (2) write a lot of tmp tables to disk (see screen shots), that would be great :-)
|
Quote:
|
Quote:
|
Quote:
About Urdu - ask Google :) Whatever they will support I will support :) |
Quote:
|
Quote:
But - code to add API key is mine ;) |
Quote:
|
Quote:
Anyway, I recall T2x had a post with that code a while back and suggested we use the API. (I am using still using that code until I finally port to your mod). Great job both of you! |
Quote:
I see your screen shots and I'm very surprised - you are sure that this is about this mod ;) Look yourself to product file - each table has index for serie, and look in to vbenterprisetranslator_functions.php on SELECT queries - all 3 which joins tables are using serie to join... Maybe I miss something but I'm still sure that all joins in my mod are made with indexes. So - unless you show me exactly which query causes it I assume that the reason can be in other mod or vB. About BLOBS. DB is optimized to handle long textes - it means what don't need be in BLOB isn't. Short texts are put into small and medium cache. Long - must be in blob and there is no other way. In SQL you will find VARCHAR(65000) but mySQL will change it to some BLOB or TEXT field. Medium cache is as long as it is possible to be possible to create unique indexes - one char more and unique will not be possible. Also VARCHAR(328) in medium cache statys as varchar. It appears that in older version of mySQL like 4.1.1 it is changed VARCHAR(328) to BLOB, but if someone choose to use old soft which is slower - for me means that he don't need speed, so I optimized it for those who use higher versions :) Still - if someone have idea to improve - I will gladly read what solution will make it faster :) |
Quote:
|
Quote:
I look forward to seeing the new performance after porting! Thanks. FYI, here is part of the T2x Google API code from "before" : Code:
@curl_setopt($ch, CURLOPT_URL, "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&key=blahbalhjfkljfdlkjfdlkjfdkjfdkjfkdjfkdfjdkpNbYUjebhSesaThcIIYMEFOUC-VHLBB1KJQkw&langpair=".urlencode($fl.'|'.$tl)."&q=".urlencode($text)); |
Quote:
|
Just want to all let you know that I'm ready to make 2.0.0 release :)
I changed code and now links will be generated according to SEO consensus (/en/address) - configurable. Also added some other requeste features :) Just waiting till T2x fix his code to work appropriatelly in main page and in forums in subdirectories :) Great work T2x :D:up: Also new release will not require any vbseo.php changes :) |
Quote:
This will be MOTY (Mod of the Year!) :cool: |
Quote:
Use one of your own translation links, on the base install, you will see massive image problems and what appear to be script problems (stats loading, etc). This is because of how you have set this up, the paths are pointing to /en/images instead of /images/ , etc. Sure, this could be just an install thing, but when you provide a demo, it should work, otherwise, people won't install the product. |
Quote:
|
i hope Nlp can fix the issue related what i talk with him about vbseo_url and requist_url for pages in vba links and vba dyna
any solution to make it work in requist_url and make vbseo as requist_url by some change in vbseo files it is eazy then to make all the site work |
Quote:
Seems it should be OK with the new language= mod (this mod), since it is better :-) |
All times are GMT. The time now is 08:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|