Axinom Mosaic Libraries
    Preparing search index...
    interface LocalizationGeneratorParams {
        entityIdParam: string;
        entityType: string;
        resolveRoot?: LocalizationRootPathResolver;
        root: string;
    }
    Index

    Properties

    entityIdParam: string

    The name of the parameter in the path that contains the entity id

    entityType: string

    The type of the entity. Used to lookup the values of the entity on the translation service

    Root path resolver. Provide root path resolver in case there are more than one dynamic path segment representing entityIdParam, the resolver should return the remaining dynamic segments

    ID or the entity provided in entityIdParam in the root path

    Object where keys correspond to the dynamic segments and value correspond to the value to be replaced in the path

    root: string

    Path to the entity, will be used to add entities translation sub-stations (must contain ID of the entity)