Skip to content

Feature request: Allow to put arbitrary strings into loc files. #455

@TheScarFr

Description

@TheScarFr

Because I'm not sure of how to explain that, I'll quote the discussion: https://discord.com/channels/282045216221822978/863924908005916672/1466842564534599803

TheScarFr wrote:

Hum, I can't add a localized text modifier to an empty.

Adam {Hoikas} wrote:

It doesn't make sense do that - the localized text modifier is for rendering localized text to an object's material.

TheScarFr wrote:

For the Trigon Bracelet's KI messages translation, that appear in the KI chat (purple color, like for when a link is added in the Nexus) when you use the Trigon Bracelet dispenser, or when the Bracelet's Access Level is upgraded.

Adam {Hoikas} wrote:

We currently don't have a way to put arbitrary strings into the loc file like that, IIRC. That would be a good feature request to open.

Example loc file: TrgnAgsGrpEnglish.loc

<?xml version="1.0" encoding="utf-8"?>
<localizations>
	<age name="TrgnAgsGrp">
		<set name="TrigonBraceletKIMessages">
			<element name="Add">
				<translation language="English">Trigon Access Bracelet received with a %1s accreditation level.</translation>
			</element>
			<element name="AddToWardrobe">
				<translation language="English">Trigon Access Bracelet received with a %1s accreditation level (added to your wardrobe).</translation>
			</element>
			<element name="Reminder">
				<translation language="English">Your Trigon Access Bracelet currently has a %1s accreditation level.</translation>
			</element>
			<element name="Upgrade">
				<translation language="English">Your Trigon Access Bracelet now has a %1s accreditation level.</translation>
			</element>
		</set>
	</age>
</localizations>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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