Bug 5621

Summary: Google Translation for indian languages
Product: Koha Reporter: Amit Gupta <kohapatch>
Component: OPACAssignee: Amit Gupta <kohapatch>
Status: CLOSED WONTFIX QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P1 - high CC: chris, fridolin.somers, julian.maurice, kpkkprasanth, paul.poulain
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Seeking developer Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Deadline: 2018-08-24   
Attachments: Google Translation for indian languages.
Bug-5621 Google Translation for indian languages.
Bug 5621 : Follow up fixing up syspref files

Description Amit Gupta 2011-01-17 06:41:22 UTC
Google Translation for indian languages.
Comment 1 Amit Gupta 2011-01-17 10:33:11 UTC Comment hidden (obsolete)
Comment 2 Julian Maurice 2011-03-15 14:11:05 UTC
Patch does not apply on master:

Applying: Bug-5621 Google Translation for indian languages.
/home/julian/koha/versions/koha-community-git/.git/rebase-apply/patch:102: trailing whitespace.
      
error: patch failed: installer/data/mysql/updatedatabase.pl:3937
error: installer/data/mysql/updatedatabase.pl: patch does not apply
/home/julian/koha/versions/koha-community-git/.git/rebase-apply/patch:97: new blank line at EOF.
+
error: patch failed: kohaversion.pl:16
error: kohaversion.pl: patch does not apply
error: patch failed: opac/opac-main.pl:37
error: opac/opac-main.pl: patch does not apply
error: patch failed: opac/opac-search.pl:81
error: opac/opac-search.pl: patch does not apply
Patch failed at 0001 Bug-5621 Google Translation for indian languages.
When you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".
Comment 3 Paul Poulain 2011-03-15 14:42:51 UTC
+ there are some lines that are not related to translation:
diff --git a/opac/opac-search.pl b/opac/opac-search.pl
-    }
+}

Auth.pm:
-      flagsrequired   => {borrow => 1, catalogue => '*', tools => 'import_patrons' },
+      flagsrequired   => {borrow => 1, catalogue => '*', tools => 'import_patrons'},
and
-         flagsrequired   => {borrow => 1, catalogue => '*', tools => 'import_patrons' },
+         flagsrequired   => {borrow => 1, catalogue => '*', tools => 'import_patrons'},
Comment 4 Chris Cormack 2011-07-07 23:39:45 UTC
Created attachment 4587 [details] [review]
Bug-5621 Google Translation for indian languages.
Comment 5 Chris Cormack 2011-07-07 23:41:52 UTC
The content of attachment 2996 [details] has been deleted by
    Chris Cormack <chris@bigballofwax.co.nz>
without providing any reason.

The token used to delete this attachment was generated at 2011-07-08 11:41:49 NZST.
Comment 6 Chris Cormack 2011-07-07 23:46:51 UTC
Created attachment 4588 [details] [review]
Bug 5621 : Follow up fixing up syspref files
Comment 7 Owen Leonard 2011-07-08 13:23:43 UTC
I was confused at first that there were no changes to the template in these patches. The template changes were approved before the script and syspref changes were?

The problem I see is that the check in the template, added 5 Jun 2009, doesn't match the system preference added by this patch. The template looks for "GoogleIndicTransliteration," the new system pref is called "GoogleTransliteration."
Comment 8 Prasanth K 2018-08-24 08:56:00 UTC
Koha Developers,
                 please add indian amazon association to enhancement content,because we not receive the commission from american amazon associations. And useless for students to buy the books from american association website, we using rupees.

so kindly add indian association tag in koha.

Regards 

K.Prasanth
Comment 9 Katrin Fischer 2018-08-26 17:43:25 UTC
Hi Prasanth, this bug is about Google translation, please file a separate bug for the Amazon issue. Please also keep in mind that most developers working on Koha are getting paid for their work - so there is no guarantee someone will be spending time on it.
Comment 10 Katrin Fischer 2018-08-26 17:43:56 UTC
Resetting former status.
Comment 11 Katrin Fischer 2023-08-27 13:32:33 UTC
The API this is using has been depracted in 2011:

https://developers.google.com/transliterate/v1/getting_started
The Google Transliterate API has been officially deprecated as of May 26, 2011. It will continue to work as per our deprecation policy. 

I am closing WONTFIX, please reopen if you see a way forward here.