| Summary: | Can't create glossary entries with Lokalize | ||
|---|---|---|---|
| Product: | [Applications] lokalize | Reporter: | Charlotte <altronic25> |
| Component: | glossary | Assignee: | Finley Watson <fin-w> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | aacid, altronic25, as9902613, kde-identity-of-alex, sdepiets, shafff |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Charlotte
2025-12-24 05:50:32 UTC
It looks like Lokalize is not able to create a new Glossary. With existing one it works fine.
Workaround would be:
1. While creating a new project in Lokalize some project fields are prefilled. Also Glossary path is prefilled with an absolute path and pointing to a file named "terms.tbx". But if you check inside of this path for this file, you will not find it.
2. Creating an empty file "terms.tbx" e. g. by command "touch terms.tbx" will not help. Additionally you have to put following content into this file and save it:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE martif PUBLIC 'ISO 12200:1999A//DTD MARTIF core (DXFcdV04)//EN' 'TBXcdv04.dtd'>
<martif type="TBX" xml:lang="en">
<martifHeader>
<fileDesc>
<titleStmt>
<title>Your Team Glossary</title>
</titleStmt>
</fileDesc>
<encodingDesc>
<p type="DCSName">SYSTEM "TBXDCSv05b.xml"</p>
</encodingDesc>
</martifHeader>
<text>
<body>
</body>
</text>
</martif>
3. Now just close and reopen Lokalize project and your Glossary will work!
Adding the glossary file manually fixes the issue. Don't know why it wasn't created by lokalize, I didn't get any errors about it when I created the project or tried to use it. |