Feature request: Allow to put arbitrary strings into loc files.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 35
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
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>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files or tests are named. Start by tracing the localization and loc-file handling for the TrgnAgsGrpEnglish.loc example, then compare it with the requested arbitrary KI messages. Done means the four example elements can be stored and retrieved as localized strings without relying on a material modifier, with tests covering that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blender, python
- Domain
- localization, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100