Skip to content

BaseJsonTextsGenerator.GetUserTargets method

Gets the folders of the texts that an application has in it, e.g. the ones that its users add through the translation page, which are read for the translations of a key, but are not written by the generator. It is the "App_Data/texts" folder of the project of the application, which is where the translation page puts them.

protected virtual IEnumerable<(string Folder, string Prefix)> GetUserTargets()

Return Value

The folders, with the prefix of their files, e.g. "user.texts", which are either paths that start from the root of a drive, or ones that start from the folder of the web project, see TextsTarget.

See Also