XCT localization Resx Files #1206
-
So when adding the Resx language files to the solution in the .Net Standard project is there a particular location they should be added.? They should be named AppResources.resx and then AppResources.xx.resx for each language is what I understand. Orgbrat |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@Orgbrat AFAIK you can put that file anywhere on your project. I'll ping @maxkoshevoi to double-check |
Beta Was this translation helpful? Give feedback.
-
@pictos is correct. They can be added anywhere, and have any name. You can see that they are named The only rule is that if your default resource file is named |
Beta Was this translation helpful? Give feedback.
@pictos is correct. They can be added anywhere, and have any name.
Here's how they look in my pet project for example: https://github.com/maxkoshevoi/NureTimetable/tree/main/NureTimetable.Core/Localization
You can see that they are named
LN
and located in completely different project from UI stuff.The only rule is that if your default resource file is named
X.resx
, resource files for other languages must be in the same folder and namedX.yy.resx
orX.yy-zz.resx
.For example:
X.en.resx
orX.en-US.resx