CodeCanyon

Website translation Class

  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 500 and 999 users
jackpotsoft says
Purchased

Hi,

Firstly quite a nice product.

Just a quick question

as i several files on server

say index.php , contact.php ,suppport.php and over 50+ files similar way.

So do i need to parse url parameter ?ln= to every file?

They all are having a

require_once(dirname( FILE ) . ’/application.php’); included

So what can i do to parse ?ln= parameter once and it works for all other pages?

Please guide,as this may be a question from others too

Posted 6 months ago
Author
Sitebase Sitebase replied

You only have to add the parameter once because the example I’ve provided works with sessions. So the selected language is saved per user ;)

Posted 6 months ago
  • Has been a member for 1-2 years
  • Bought between 50 and 99 items
  • Referred between 1 and 9 users
photography4free says

Hi Sitebase,

Would this work in wordpress? Or do you have a wordpress version?

Cheers,

Gray

Posted 6 months ago
Author
Sitebase Sitebase replied

I don’t have a WordPress version for this but there are some good WordPress plugins available for this.

Posted 6 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 500 and 999 users
jackpotsoft says
Purchased

I have a question ,

Is there a way to scan large files and Put text as Language

So i do not need to edit text in each file and and place them as variable.

Any tool for it ?

also try checking my post here

http://codecanyon.net/forums/thread/just-a-quick-suggestion-about-smarty/49371
Posted 6 months ago
Author
Sitebase Sitebase replied

No, there is no tool for that.

Posted 5 months ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Portugal
malomedia says
Purchased

It doesn’t work anymore. Does I have to buy it again to have the update?

Posted 4 months ago
Author
Sitebase Sitebase replied

You can download the latest version under your Acount > Download page.

Posted 4 months ago
Purchased
malomedia malomedia replied

But it’s not working :(

Posted 4 months ago
Author
Sitebase Sitebase replied

The Google translation API is deprecated and is from now on only available as a paid service. So from this moment you can only use this script for manual translations.

Sorry for the inconvenience!

Posted 4 months ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Portugal
malomedia says
Purchased

Waiting for help…

Posted 4 months ago
Author
Sitebase Sitebase replied

The Google translation API is deprecated and is from now on only available as a paid service. So from this moment you can only use this script for manual translations.

Sorry for the inconvenience!

Posted 4 months ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
myriamax says
Purchased

Hi Congrats for you php class just have one litlle problem some time the scripts works fine but some time he just translate a part of the text

i m using the method_post;

online example

any help would be appreciated regards

Posted 4 months ago
Author
Sitebase Sitebase replied

The Google translation API is deprecated and is from now on only available as a paid service. So from this moment you can only use this script for manual translations.

Sorry for the inconvenience!

Posted 4 months ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Portugal
malomedia says
Purchased

That’s exactly what happens with me

Posted 4 months ago
Author
Sitebase Sitebase replied

The Google translation API is deprecated and is from now on only available as a paid service. So from this moment you can only use this script for manual translations.

Sorry for the inconvenience!

Posted 4 months ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
myriamax says
Purchased

Hi Sitebase I’ve purchased your translation class and i also get a key for google translation api V2

Guess i need to modify the 2 fonctions:

-“getTranslation” and -“postTranslation”

to make it work with your translation class

i’ve juste replaced this line

http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=

with this news one for the translate api v2

https://www.googleapis.com/language/translate/v2?key=MY_KEY&q=

(of course i use the key i got from google but it doesn’t work!)

Would you give me some help please to use your class with this google api translate V2??

Hope to hear from you soon Regards.

Posted 3 months ago
Author
Sitebase Sitebase replied

Can you create a support ticket for this on support.sitebase.be. Can you also place your API key in that ticket so I can do some testing with it? Thanks!

Posted 3 months ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
myriamax says
Purchased

By the way another question how can i use the script or manuel translation? should i need to change any function in the language.php file ?

Cheers.

Posted 3 months ago
Author
Sitebase Sitebase replied

For this you don’t need to change anything. Just make sure to disable the auto translate feature:

Language::SetAuto(false);

Open your website in a browser and now the CSV files will be created. Now you can just add the translations manually in the CSV files.

Posted 3 months ago
  • Has been a member for 0-1 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • United States
CwTechies says
Purchased

This is amazing, great work! Can you make your own .cvs language files? And it would be nice if it also supported French, Deutsch, and Spanish. Or at least add Spanish.

Great work, CwTechies

Posted 3 months ago
Author
Sitebase Sitebase replied

You can create language files for every language you want ;).

Posted 3 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
galassya says
Purchased

Sorry but have you a sample about csv files? Do not work in my website your class

Posted 2 months ago
Author
Sitebase Sitebase replied

Do you have set write permission on the translations directory. The translation file look like this.

string1;translation1
string2;translation2

The name of the files is something like en.csv or de.csv

Posted 2 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
mihaiwst says
Purchased

I use the script but is not showing me any translated text.It just showing me a blank page. When i use the model it also disply a blank page when i try to use the script to translate. Any idea?

Posted 25 days ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 500 and 999 users
jackpotsoft says
Purchased

I am trying to find all strings in Template files using regex

__("AnyText")

I wrote this regex

/_[_|e]\([\"|\']([^\"|\']+)[\"|\']\)/i

Above Regex can Recognize All strings using Your Function

Now I need to make a small change

I want to Use Single Quote rather than Double Quote

So My string will look like

__('AnyText')

What Should be changed in RegEx

Please Suggest.

Posted 16 days ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 500 and 999 users
jackpotsoft says
Purchased

Leave it , It works for Both.

Actually i was building a tool to find all strings in PHP ,HTML files using this regular express.

Its working!!

Also I have google api V2 Keys ,

What changes has to be made to let it work with V2

Posted 16 days ago

You must sign in or sign up to purchase this item.

$4Regular Licence

$4

Regular Licence a website (commercial, personal, client), or intranet site project - Details

$20Extended Licence

$20

Extended Licence a website template for sale (including on ThemeForest or ActiveDen) - Details

305 Purchases 134 Comments

Buyer Rating
12345 ( 75 ratings )
Sitebase

Sitebase

  • Has been a member for 2-3 years
  • Won a Competition
  • Author had a File in an Envato Bundle
  • Envato Staff
  • Reviewer
  • Author had a Free File of the Month
  • Exclusive Author
  • Beta Tester
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Belgium
  • Referred between 100 and 199 users
View Portfolio
Created 10 November 09
Compatible Browsers FireFox 2, FireFox 3, IE6, IE7, IE8, Safari
Software Version PHP 5.x
Software Framework N/A
Files Included PHP
by
by
by
by
by