Skip to content

High performance self-hosted photo and video management solution.

chore Add Norweigain localization setup (#1859)

Alex3ea107be5a72
diff --git a/localizely.yml b/localizely.yml
index 692a0ffbf3..a5949c468b 100644
--- a/localizely.yml
+++ b/localizely.yml
@@ -44,3 +44,5 @@ download:
locale_code: ru-RU
- file: mobile/assets/i18n/cs-CZ.json
locale_code: cs-CZ
+ - file: mobile/assets/i18n/no-NO.json
+ locale_code: no-NO
diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plist
index 797edde9c5..6439b8cd44 100644
--- a/mobile/ios/Runner/Info.plist
+++ b/mobile/ios/Runner/Info.plist
@@ -1,112 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
-<dict>
- <key>BGTaskSchedulerPermittedIdentifiers</key>
- <array>
- <string>app.alextran.immich.backgroundFetch</string>
- <string>app.alextran.immich.backgroundProcessing</string>
- </array>
- <key>CADisableMinimumFrameDurationOnPhone</key>
- <true/>
- <key>CFBundleDevelopmentRegion</key>
- <string>$(DEVELOPMENT_LANGUAGE)</string>
- <key>CFBundleDisplayName</key>
- <string>Immich</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleLocalizations</key>
- <array>
- <string>cs</string>
- <string>da</string>
- <string>de</string>
- <string>en</string>
- <string>es</string>
- <string>fi</string>
- <string>fr</string>
- <string>it</string>
- <string>ja</string>
- <string>ko</string>
- <string>nl</string>
- <string>pl</string>
- <string>pt</string>
- <string>ru</string>
- <string>se</string>
- <string>sk</string>
- <string>zh</string>
- </array>
- <key>CFBundleName</key>
- <string>immich_mobile</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.49.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>87</string>
- <key>FLTEnableImpeller</key>
- <true/>
- <key>ITSAppUsesNonExemptEncryption</key>
- <false/>
- <key>LSApplicationQueriesSchemes</key>
- <array>
- <string>https</string>
- </array>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>MGLMapboxMetricsEnabledSettingShownInApp</key>
- <true/>
- <key>NSAppTransportSecurity</key>
- <dict>
- <key>NSAllowsArbitraryLoads</key>
- <true/>
- </dict>
- <key>NSCameraUsageDescription</key>
- <string>We need to access the camera to let you take beautiful video using this app</string>
- <key>NSLocationAlwaysUsageDescription</key>
- <string>Enable location setting to show position of assets on map</string>
- <key>NSLocationWhenInUseUsageDescription</key>
- <string>Enable location setting to show position of assets on map</string>
- <key>NSMicrophoneUsageDescription</key>
- <string>We need to access the microphone to let you take beautiful video using this app</string>
- <key>NSPhotoLibraryAddUsageDescription</key>
- <string>We need to manage backup your photos album</string>
- <key>NSPhotoLibraryUsageDescription</key>
- <string>We need to manage backup your photos album</string>
- <key>UIApplicationSupportsIndirectInputEvents</key>
- <true/>
- <key>UIBackgroundModes</key>
- <array>
- <string>fetch</string>
- <string>processing</string>
- </array>
- <key>UILaunchStoryboardName</key>
- <string>LaunchScreen</string>
- <key>UIMainStoryboardFile</key>
- <string>Main</string>
- <key>UIStatusBarHidden</key>
- <false/>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>UISupportedInterfaceOrientations~ipad</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationPortraitUpsideDown</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>UIViewControllerBasedStatusBarAppearance</key>
- <true/>
- <key>io.flutter.embedded_views_preview</key>
- <true/>
-</dict>
-</plist>
+ <dict>
+ <key>BGTaskSchedulerPermittedIdentifiers</key>
+ <array>
+ <string>app.alextran.immich.backgroundFetch</string>
+ <string>app.alextran.immich.backgroundProcessing</string>
+ </array>
+ <key>CADisableMinimumFrameDurationOnPhone</key>
+ <true />
+ <key>CFBundleDevelopmentRegion</key>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleDisplayName</key>
+ <string>Immich</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleLocalizations</key>
+ <array>
+ <string>cs</string>
+ <string>da</string>
+ <string>de</string>
+ <string>en</string>
+ <string>es</string>
+ <string>fi</string>
+ <string>fr</string>
+ <string>it</string>
+ <string>ja</string>
+ <string>ko</string>
+ <string>nl</string>
+ <string>pl</string>
+ <string>pt</string>
+ <string>ru</string>
+ <string>se</string>
+ <string>sk</string>
+ <string>zh</string>
+ <string>no</string>
+ </array>
+ <key>CFBundleName</key>
+ <string>immich_mobile</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.49.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>87</string>
+ <key>FLTEnableImpeller</key>
+ <true />
+ <key>ITSAppUsesNonExemptEncryption</key>
+ <false />
+ <key>LSApplicationQueriesSchemes</key>
+ <array>
+ <string>https</string>
+ </array>
+ <key>LSRequiresIPhoneOS</key>
+ <true />
+ <key>MGLMapboxMetricsEnabledSettingShownInApp</key>
+ <true />
+ <key>NSAppTransportSecurity</key>
+ <dict>
+ <key>NSAllowsArbitraryLoads</key>
+ <true />
+ </dict>
+ <key>NSCameraUsageDescription</key>
+ <string>We need to access the camera to let you take beautiful video using this app</string>
+ <key>NSLocationAlwaysUsageDescription</key>
+ <string>Enable location setting to show position of assets on map</string>
+ <key>NSLocationWhenInUseUsageDescription</key>
+ <string>Enable location setting to show position of assets on map</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>We need to access the microphone to let you take beautiful video using this app</string>
+ <key>NSPhotoLibraryAddUsageDescription</key>
+ <string>We need to manage backup your photos album</string>
+ <key>NSPhotoLibraryUsageDescription</key>
+ <string>We need to manage backup your photos album</string>
+ <key>UIApplicationSupportsIndirectInputEvents</key>
+ <true />
+ <key>UIBackgroundModes</key>
+ <array>
+ <string>fetch</string>
+ <string>processing</string>
+ </array>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIMainStoryboardFile</key>
+ <string>Main</string>
+ <key>UIStatusBarHidden</key>
+ <false />
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UIViewControllerBasedStatusBarAppearance</key>
+ <true />
+ <key>io.flutter.embedded_views_preview</key>
+ <true />
+ </dict>
+</plist>
\ No newline at end of file
diff --git a/mobile/lib/constants/locales.dart b/mobile/lib/constants/locales.dart
index fb89e0d674..9a2f5d81a5 100644
--- a/mobile/lib/constants/locales.dart
+++ b/mobile/lib/constants/locales.dart
@@ -20,6 +20,7 @@ const List<Locale> locales = [
Locale('sv', 'SE'),
Locale('sk', 'SK'),
Locale('zh', 'CN'),
+ Locale('no', 'NO'),
];
const String translationsPath = 'assets/i18n';