x4js - v2.2.49
    Preparing search index...

    Function addTranslation

    • build the language with given fragments

      Parameters

      • name: string

        language name (code)

      • ...parts: any[]

        misc elements that make the language @example:

        createLanguage( 'en', 'fr' );
        const app = {
        clients: {
        translation1: "hello",
        }
        }
        addTranslation( 'en', app );

      Returns void