An open API service indexing awesome lists of open source software.

https://github.com/martincostello/aspnet-core-pseudo-localization

An example application that demonstrates using pseudo-localization with ASP.NET Core
https://github.com/martincostello/aspnet-core-pseudo-localization

aspnet-core localization

Last synced: 16 days ago
JSON representation

An example application that demonstrates using pseudo-localization with ASP.NET Core

Awesome Lists containing this project

README

        

# ASP.NET Pseudo-localization

[![Build status](https://github.com/martincostello/aspnet-core-pseudo-localization/actions/workflows/build.yml/badge.svg?branch=main&event=push)](https://github.com/martincostello/aspnet-core-pseudo-localization/actions/workflows/build.yml?query=branch%3Amain+event%3Apush)

## Introduction

An example application that demonstrates using pseudo-localization with ASP.NET for testing that strings shown in the user interface have been appropriately prepared for localization.

### English (`en-GB`)

Below is the sample application when run in the default locale (UK English).

![TodoApp in English](./docs/todoapp.en-GB.png "TodoApp in English")

### Pseudo-locale (`qps-Ploc`)

Below is the sample application when run using the Windows base pseudo-locale. UI elements that are not user data are rendered using with additional length, accents and surrounded in square brackets.

![TodoApp with Pseudo-localization](./docs/todoapp.qps-Ploc.png "TodoApp with Pseudo-localization")

## Feedback

Any feedback or issues can be added to the issues for this project in [GitHub](https://github.com/martincostello/aspnet-core-pseudo-localization/issues "Issues for this project on GitHub.com").

## Repository

The repository is hosted in [GitHub](https://github.com/martincostello/aspnet-core-pseudo-localization "This project on GitHub.com"):

## License

This project is licensed under the [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt "The Apache 2.0 license") license.

## Building and Testing

Compiling the application yourself requires Git and the [.NET SDK](https://www.microsoft.com/net/download/core "Download the .NET SDK") to be installed (version `9.0.100` or later).

To build and test the application locally from a terminal/command-line, run the following set of commands:

```powershell
git clone https://github.com/martincostello/aspnet-core-pseudo-localization.git
cd aspnet-core-pseudo-localization
./build.ps1
```