Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Our Phrase Manager allows you to edit and create phrases, it also allows you to make your site multi-lingual by adding translations for phrases.

Excerpt Include
Enabling Short Urls
Enabling Short Urls
nopaneltrue

For these tutorials, we will use the phrase Friends as our examples.

Finding Phrases

  • Click Phrases in the AdminCP menu.

Image Added

  • On the right you'll see a list of phrases and in the far right column, an input box to type a phrase to search. In that input, type Friends.

Image Added

  • Below the input box are some selections for where to search. We can choose: Phrase Text Only, Phrase Variable Name Only, Phrase Text and Phrase Variable Name. Choose Phrase Text Only.

Image Added

  • Below that is View More Search Options. Click that to open advanced search options. Choose English for the language package, All Phrases, Module choose User, for the rest of the options, choose what you want for this tutorial.
  1. Language Packages - allows you to search specific language packs you have installed.
  2. Phrases - allows you to search translated, not translated or all phrases.
  3. Module - allows you to narrow the search to a specific module.
  4. Display - allows you to choose how many results to see per page.
  5. Sort by - you can sort by Time/Phrase ID#, and you can sort Ascending or Descending.

Image Added

  • Click Submit to search for the phrase and results will show.
Info
titleTip
If you don't see results, make sure you didn't put a module in the text input field such as user.friends as that will make the search not work. You select the module in the filters shown above.

Editing Phrases

  • Use the above tutorial to first find the phrase you want to edit. In our example, we will edit Mutual Friends to be Mutual Buddies and then will revert it back to default after.
  • Scroll down the list to find Mutual Friends as seen in the screen shot:

Image Added

  • Change Friends to Buddies in the right column (Text Column). Click to the left of the phrase in the checkbox and choose Save Selected or Save All (if editing more than one).

Image Added

  • Clear cache and look front end to see your changes.

Image Added

  • If you need to revert the phrase back, just follow the steps to find your phrase and then click to the left of the phrase in the checkbox and choose Revert Selected to Default. Clear cache.

Image Added

Note
You need to have a value for all languages when editing or making phrases. Leaving a language phrase blank will cause issues for your users and your site. The English language pack must always contain the phrase or your language pack will show a blank value as the script pulls the language from the master file before serving it in your language.