User Tools

Site Tools


en:supporting_other_locales

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:supporting_other_locales [2019/12/13 04:07] anupamaen:supporting_other_locales [2019/12/13 04:08] anupama
Line 60: Line 60:
      - Use a text editor to open up ''perllib/plugins/DirectoryPlugin.pm'' (in a GS3 installation, this is located withing GS3's ''gs2build'' subfolder). Somewhere near the top of this file, find the line that says:<code>#use Encode::Alias;</code>\\ and check out the ''#'' sign at the start of that line so that you get<code>use Encode::Alias;</code>\\ Then save the file with this change.      - Use a text editor to open up ''perllib/plugins/DirectoryPlugin.pm'' (in a GS3 installation, this is located withing GS3's ''gs2build'' subfolder). Somewhere near the top of this file, find the line that says:<code>#use Encode::Alias;</code>\\ and check out the ''#'' sign at the start of that line so that you get<code>use Encode::Alias;</code>\\ Then save the file with this change.
   * If you're working with Greenstone 2.87 or earlier or Greenstone 3.09 or earlier, then:   * If you're working with Greenstone 2.87 or earlier or Greenstone 3.09 or earlier, then:
-     - Use the Windows file explorer to go to ''perllib/cpan/Encode'' (which in a GS3 installation is located within its ''gs2build'' subfolder). Then rename the existing ''Locale.pm'' file to ''Locale.pm.old''. Next, download [[http://trac.greenstone.org/browser/main/trunk/greenstone2/perllib/cpan/Encode/Locale.pm.newForLocalIssue?rev=33721|Locale.pm.forLocaleIssue]] and [[http://trac.greenstone.org/browser/main/trunk/greenstone2/perllib/cpan/Encode/Alias.pm.forLocalIssue?rev=33721|Alias.pm.forLocaleIssue]] into your ''perllib/cpan/Encode'' folder, and rename them to ''Locale.pm'' and ''Alias.pm'', respectively.+     - Use the Windows file explorer to go to ''perllib/cpan/Encode'' (which in a GS3 installation is located within its ''gs2build'' subfolder). Then rename the existing ''Locale.pm'' file to ''Locale.pm.old''. Next, download [[http://trac.greenstone.org/browser/main/trunk/greenstone2/perllib/cpan/Encode/Locale.pm.newForLocaleIssue|Locale.pm.forLocaleIssue]] and [[http://trac.greenstone.org/browser/main/trunk/greenstone2/perllib/cpan/Encode/Alias.pm.forLocaleIssue|Alias.pm.forLocaleIssue]] into your ''perllib/cpan/Encode'' folder, and rename them to ''Locale.pm'' and ''Alias.pm'', respectively.
      - Use a text editor to open up ''perllib/plugins/DirectoryPlugin.pm'' (in a GS3 installation, this is located withing GS3's ''gs2build'' subfolder). Somewhere near the top of this file, find the line that says:<code>no strict 'subs';</code>\\ and insert the following line after it:<code>use Encode::Alias;</code>\\ Then save the file.      - Use a text editor to open up ''perllib/plugins/DirectoryPlugin.pm'' (in a GS3 installation, this is located withing GS3's ''gs2build'' subfolder). Somewhere near the top of this file, find the line that says:<code>no strict 'subs';</code>\\ and insert the following line after it:<code>use Encode::Alias;</code>\\ Then save the file.
  
  
  
en/supporting_other_locales.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1