Bug 355171

Summary: The translation file is invalid(localization)。
Product: [Applications] okular Reporter: likun <kun.li>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: luigi.toscano, yurchor
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description likun 2015-11-11 03:56:59 UTC
To the translation of English, some localization success, some  。

example:
The okular menu bar is shown as : 文件(F)   Edit  View  Go Bookmarks Tools  设置(S)  帮助(H)

Translation files:
msgid "&Bookmarks"
msgstr "书签(&B)"                                                                                                   
 
msgid "&Edit"     
msgstr "编辑(&E)"    
                 
msgid "&View"     
msgstr "查看(&V"    
                
 Bookmark ,Edit,View has been showed in English


Reproducible: Always



Expected Results:  
Can completely localization
Comment 1 likun 2015-11-11 04:41:40 UTC
To the translation of English,Some localization success, the other is always display in English 。
Comment 2 Yuri Chornoivan 2015-11-11 07:19:41 UTC
Do you use kf5-based version? If so, what is the version number of kf5 libraries?

If kf5 version is lower than 5.9.0, there is a bug in it which prevents .rc-files translations from loading:

https://bugs.kde.org/show_bug.cgi?id=342976
Comment 3 likun 2015-11-11 07:53:19 UTC
(In reply to Yuri Chornoivan from comment #2)
> Do you use kf5-based version? If so, what is the version number of kf5
> libraries?
> 
> If kf5 version is lower than 5.9.0, there is a bug in it which prevents
> .rc-files translations from loading:
> 
> https://bugs.kde.org/show_bug.cgi?id=342976

 Use kf5-based version is 5.15.0, There are still this problem.
Comment 4 Luigi Toscano 2015-11-11 18:48:43 UTC
It is still not clear for me which is the version of Okular affected by this problem.

Can you please paste here the output of 
okular --version
?
Comment 5 likun 2015-11-12 01:06:56 UTC
(In reply to Luigi Toscano from comment #4)
> It is still not clear for me which is the version of Okular affected by this
> problem.
> 
> Can you please paste here the output of 
> okular --version
> ?

Sorry!
The okular  --version is 1.0.0.
Comment 6 Luigi Toscano 2015-11-14 23:23:53 UTC
1.0.0 is an unsupported version of Okular based on KDE Frameworks, compiled from a snapshot of a development branch. Because of this, there are no translations for that branch of Okular yet (some messages for the stable version may work, that's why you see them translated). Please use the supported version of Okular if you want to use the existing translations.