CRMJetty Documents CRMJetty Documents
  • Knowledge Base
  • Video Tips
  • User Manuals
  • Contact Us
  • Search
  • Knowledge Base
  • Video Tips
  • User Manuals
  • Contact Us
  • Search
Go to Main Site
Support

+1 (408)-329-9693

  • +1 (408)-329-9693

  • +91 91067 47559

  • +41 22 534 9902

  • +44 20 3893 2693

HomeHow to translate?

How to translate?

You can add language translation for the portal in two ways:

-> Using WordPress or

-> Third-party plugins: Loco Translate

 

Using default WordPress

You must install the WP-CLI Software if you want to translate the portal content using WordPress. After installing the WP-CLI software, follow the below steps:

We have already generated a template POT file including all the static content (strings) used in the plugin.

You just need to copy template files in the desired language.

Ex.: Suppose, if you want to translate the plugin in the “Spanish” language, you need to copy bcp_portal.POT file and after pasting the file, rename the file as “bcp_portal-es_ES.po” file where bcp_portal represents our portal’s slug and es_ES represents the language slug.

Add translation for all the content (strings) manually from the PO file and generate the MO file.

Note: You can generate an MO file by using any free website and put that file in the language folder of the plugin. You need to name the PO file (i.e., bcp_portal-es_ES.mo).

You need to translate ‘JavaScript’ files by using the below command which will create a JSON file that includes JavaScript strings.

wp i18n make-json bcp_portal-gu.po –no-purge

First, you need to add any custom string into the POT file. “msgid” represents the original string name, and ”msgstr” represents the translated string but in the POT file, you need to keep blank the “msgstr”.

Once you added the string in the POT file, you need to copy those custom strings into the PO file and once you copied the strings in the PO file, you need to add the translated string in the “msgstr” text.

When all the custom strings are added, you need to generate the MO file again and replace it with a respected MO file.

 

Using third party: Loco Translate

You can also translate the content by installing Loco Translate, the third-party plugin into WordPress. To install “Loco Translate” and translate the content with it, follow the below steps:

Install the ‘Loco Translate’ plugin into your WordPress admin.

You can check the translation progress, by clicking on the ‘Salesforce Customer Portal’. You will navigate to the Language Translation details from where you can edit the existing language.

Click on any language to translate the source texts.

Now, on that specific language page, select any source text from the list of the Source Text that appears for the portal users.

Under the selected language translation, add the translated content and click on the “Sync” button.

Now, if you want to add the custom strings, navigate to the “Plugin” of ‘Salesforce Customer Portal’ and click on the Edit Template caption.

By clicking on the ‘Edit Template’ button, you will navigate to the template page where you will find the list of all the Source Text of the customer portal. By clicking on the + Add button, you can add the new string (content) for the portal.

Note: Once you add the new string, edit the Source Text, but you must keep the Content blank.

By clicking on the Sync button, the added string will be updated in the Source Text and from there you can translate in the specific language.

 

 

 

Contact Us

  • India

    C/801, Dev Aurum Commercial,
    Near Anandnagar Cross Roads,
    Prahlad Nagar, Ahmedabad –
    380015, Gujarat, India.
    Mobile: +91 91067 47559

  • USA

    2600 West Olive Ave – 5th Floor
    Burbank, California 91505
    Mobile: +1 (949) 787-0704

  • Switzerland

    Rebenstrasse 25,
    4654 Lostorf, Switzerland
    Mobile: +41 22 534 9902

  • UK

    Mobile: +44 20 3893 2693

 

Policy

  • Licence Agreement
  • Privacy Policy
  • Refund Policy
  • Support Policy
  • Terms & Conditions

 

About Company

  • About Us
  • Blog
  • White Papers
  • Sitemap
  • Contact Us
ISO 27001, ISO 9001 Certified SugarCRM ISV partner Microsoft Silver PartnerSalesforce Certified

 

We Accept

ISO 27001, ISO 9001 Certified SugarCRM ISV partner Microsoft Silver PartnerSalesforce Certified

Follow Us





  • support.biztech
  • [email protected]

© Copyright 2023 CRMJetty All rights reserved