New tool for translators #60
Replies: 3 comments
-
for me the best way if you can is to add new strings at the end of language file. Usaully I used Total Commander with compare function to see what are the changes in new master english file vs Italian language file. Thanks. kr. |
Beta Was this translation helpful? Give feedback.
-
for me the best way if you can is to add new strings at the end of language file. yes, for me 2! |
Beta Was this translation helpful? Give feedback.
-
Okay, I'll add new or changed strings to the bottom of the en-US file. I'll do this across all my apps that are currently, or are in the process of becoming, multilingual. Ther will be a section for strings that have been added and a section for strings that have been changed. I will periodically move strings in these sections into their appropriate section, otherwise the two "recently" sections will lose their meaning. Here's an example for WUView. <!-- Recently added strings -->
<sys:String x:Key="About_Contribute">Contribute</sys:String>
<sys:String x:Key="About_ContributeToolTip">How to contribute a translation</sys:String>
<sys:String x:Key="Button_No">No</sys:String>
<sys:String x:Key="Button_OpenAppFolder">Open App Folder</sys:String>
<sys:String x:Key="Button_Yes">Yes</sys:String>
<sys:String x:Key="MenuItem_SaveJSON">Export to JSON File</sys:String>
<sys:String x:Key="MsgText_Error_TestLanguage">There is a problem with the language file.</sys:String>
<sys:String x:Key="OperationType_Installation">Installation</sys:String>
<sys:String x:Key="OperationType_Uninstallation">Uninstallation</sys:String>
<sys:String x:Key="ResultCode_Failed">Failed</sys:String>
<sys:String x:Key="ResultCode_InProgress">In Progress</sys:String>
<sys:String x:Key="ResultCode_NotStarted">Not Started</sys:String>
<sys:String x:Key="ResultCode_ResultCode_Aborted">Aborted</sys:String>
<sys:String x:Key="ResultCode_Succeeded">Succeeded</sys:String>
<sys:String x:Key="ResultCode_SucceededWithErrors">Succeeded with Errors</sys:String>
<sys:String x:Key="SettingsItem_EnableLanguageTesting">Enable language testing</sys:String>
<!-- Recently changed strings -->
<sys:String x:Key="SettingsItem_UseOSLanguageToolTipLine1">When this option is selected, the language specified in the Windows settings will</sys:String>
<sys:String x:Key="SettingsItem_UseOSLanguageToolTipLine2">be used if a translation is available, otherwise English (en-US) will be used.</sys:String>
<sys:String x:Key="SettingsSubHead_Language">Language Settings and Testing</sys:String>
</ResourceDictionary> I'll keep the tool in the code and assign a hot key to it. Thanks for your input. |
Beta Was this translation helpful? Give feedback.
-
@CMTriX @bovirus @FadeMind @Vaso73
I was thinking about how to easily get a list of language strings that have been added to a project. I put together a method to compare the currently selected language file to the base en-US file. The result of the comparison is then written to the application log file. Here's an example in Windows Update Viewer.
My question to you is, would this be helpful?
I would also like to know if the use of discussions is an effective way to communicate this type of thing on GitHub. Using Issues doesn't seem appropriate.
Let me know your thoughts.
Thanks,
Tim
Beta Was this translation helpful? Give feedback.
All reactions