I've been trying to do the manual installation for windows, but can't for the life of me get it right, managed to get through the first 8 steps without a hitch, but the last part:
Open MainPage.cs
Add the new ReactNativeLocalization.RNLocalizationPackage() to the Packages list in MainPage.cs
I can't seem to find MainPage.cs, the closest thing I can find is MainPage.cpp which I am assuming is a C++ variation of the same file. despite this I have tried everything I can think of including #include to add this to the packages list, please any form of guidance would be greatly appreciated
MainPage.cpp
`#include "pch.h"
include "MainPage.h"
if __has_include("MainPage.g.cpp")
include "MainPage.g.cpp"
endif
include "App.h"
using namespace winrt;
using namespace Windows::UI::Xaml;
This is probably a stupid question, and I apologize in advance for my own naivety,
Instructions I'm following https://www.npmjs.com/package/react-native-localization#manual-installation-windows
I've been trying to do the manual installation for windows, but can't for the life of me get it right, managed to get through the first 8 steps without a hitch, but the last part:
Open MainPage.cs Add the new ReactNativeLocalization.RNLocalizationPackage() to the Packages list in MainPage.cs
I can't seem to find MainPage.cs, the closest thing I can find is MainPage.cpp which I am assuming is a C++ variation of the same file. despite this I have tried everything I can think of including #include to add this to the packages list, please any form of guidance would be greatly appreciated
MainPage.cpp `#include "pch.h"
include "MainPage.h"
if __has_include("MainPage.g.cpp")
include "MainPage.g.cpp"
endif
include "App.h"
using namespace winrt; using namespace Windows::UI::Xaml;
namespace winrt::FrappePOS::implementation { MainPage::MainPage() {
} `