Was this page helpful?

Wiki.Localize

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    wiki.Localize(resourceName : str, resourceParameters : list?) : xml
    

    Retrieve a localized resource string. For more information on available resource names and the parameters that they take, please refer to the Resources text document.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    resourceName str wiki resource name
    resourceParameters list (optional, default:nil) wiki resource parameters

       

    Result

    a string returned by the resource called resource with the given resource parameter integrated into the string.

    Samples

         Output

    get the localized page resource:

      {{ wiki.localize("System.API.page-placeholder-for-children") }}

    This page is a placeholder created because the page was deleted, but has sub-pages.

    get the localized page resource:

      {{ wiki.localize("System.API.edited-once-by", ["Sal"]) }}

    Edited once by Sal

        

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by