Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Request - Use of external language file for translation testing #26

Closed
bovirus opened this issue Oct 27, 2023 · 4 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@bovirus
Copy link
Collaborator

bovirus commented Oct 27, 2023

Brief summary of your request

Use of external language file for translation testing

Request details

@Timthreetwelve

Please consider if you can use of external language file for testing localization.

Many time to have the option to test tarnslation in place befroe to upload language file in github is for me a plus.

Anything else?

No response

@Timthreetwelve
Copy link
Owner

Timthreetwelve commented Oct 27, 2023

I like this idea. I'll see about implementing it after the current work in progress has been released.

Leaving this open as a reminder.

@Timthreetwelve
Copy link
Owner

I made some progress on this today. I plan for it to be in the next release.

A file named Strings.test.xaml will be in the application's folder. Any number (or all) of the language strings can be in the file.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib">

	<sys:String x:Key="NavTitle_Settings">Settings - Language Test</sys:String>

</ResourceDictionary>

The file is only read when the "Enable language testing" checkbox is checked. You can see in the screenshot that the title has changed.

GetMyIP_2023-10-30_21-36-01

You can also see that the navigation menu width issue has been fixed.

@Timthreetwelve
Copy link
Owner

Completed in release 0.9.3.

@bovirus
Copy link
Collaborator Author

bovirus commented Nov 1, 2023

@Timthreetwelve

Thanks.
Please close the ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants