Skip to content

Feature: Localized strings in VScript #1820

Description

@timmycelle

Which component should be improved?

Scripting

Describe your feature suggestion in more detail

There should be a way to use localized strings in VScript, similar to how other areas of the engine do it (Panorama, map entities, etc). Either by making a method for this (like Panorama's $.Localize()) or just applying it automatically when setting the string.

At first, it might seem that sp_transition_list.nut already does this for Portal 2 chapter titles, but it's actually game_text applying the localization, not the original string in VScript. The script just sets the text of the game_text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureThis is something completely new that will be added.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions