I want to replace some translated phrases (Key DB) that are also used in the database.
Will they still be in the same category after a program update?
Or I'd better keep them?
About replace some translated phrases
Moderator: xnview
-
user0
- XnThusiast
- Posts: 3060
- Joined: Sat May 09, 2015 9:37 am
Re: About replace some translated phrases
feel free to update them, eg 'Other'
it only affects db when there are no existing related records (eg on the first run)
also, keep an eye on the 'Nearby strings' and 'Other occurrences' tabs,
as they can provide useful hints for maintaining translation consistency
it only affects db when there are no existing related records (eg on the first run)
also, keep an eye on the 'Nearby strings' and 'Other occurrences' tabs,
as they can provide useful hints for maintaining translation consistency
-
ctlu999
- Posts: 13
- Joined: Fri Jun 05, 2026 12:18 am
Re: About replace some translated phrases
Thanks a lot
So, is it means if I have 5 images already assigned to Category ‘其他‘:
其他 (5)
Then replace the translated phrases ‘其他‘ to ‘其它v2‘
After update the new version app with new version translation
The Category become to?
其它v2 (5)
Or become to?
其他 (5)
其它v2 (0)
So, is it means if I have 5 images already assigned to Category ‘其他‘:
其他 (5)
Then replace the translated phrases ‘其他‘ to ‘其它v2‘
After update the new version app with new version translation
The Category become to?
其它v2 (5)
Or become to?
其他 (5)
其它v2 (0)
-
user0
- XnThusiast
- Posts: 3060
- Joined: Sat May 09, 2015 9:37 am
Re: About replace some translated phrases
on first run, app creates XnView.db and fills Tags table using the current language.
Updating translation file will not update existing database data automatically unless you delete old entries from XnView.db.
you can check how it works:
1. download Qt Linguist
2. modify DB>Other in translation file in app folder, eg ../language/xnview_zh_CN.qm
3. run XnView
old name remains
4. delete db
5. run XnView again
new name appears
Updating translation file will not update existing database data automatically unless you delete old entries from XnView.db.
you can check how it works:
1. download Qt Linguist
2. modify DB>Other in translation file in app folder, eg ../language/xnview_zh_CN.qm
3. run XnView
old name remains
4. delete db
5. run XnView again
new name appears
-
ctlu999
- Posts: 13
- Joined: Fri Jun 05, 2026 12:18 am
Re: About replace some translated phrases
Got it , thanks
But I have another question:
I didn’t see the .../language/*.qm in the /.XnViewMP folder with Mac.
Where they are in Mac?
But I have another question:
I didn’t see the .../language/*.qm in the /.XnViewMP folder with Mac.
Where they are in Mac?
-
user0
- XnThusiast
- Posts: 3060
- Joined: Sat May 09, 2015 9:37 am
Re: About replace some translated phrases
no idea, try search with Finder / Spotlight
-
ctlu999
- Posts: 13
- Joined: Fri Jun 05, 2026 12:18 am
Re: About replace some translated phrases
OK, thank you