Comments (7)
Hello @tolik85!
I'm afraid so... "fr-FR" is a valid locale code but not a valid language code (it basically causes localize to look for an "fr-FR.Iproj").
You should write:
Localize.setCurrentLanguage("fr")
To see the available language codes in your app, try
Localize.availableLanguages()
Hope this helps.
Roy
from localize-swift.
Sorry, but this does not help
from localize-swift.
Okay... can you paste what you see on
print(Localize.availableLanguages())
from localize-swift.
The language is need is Hebrew:
["Base", "en", "he-IL", "he", "hi", "pa-IN"]
from localize-swift.
and doing
Localize.setCurrentLanguage("he")
doesn't work?
If so that's very strange. I can have a quick look if you share your code (either here or via e-mail to [email protected]).
from localize-swift.
me too this error! Please support @marmelroy !
100000000 thank for @marmelroy , I miss that name of Localizable. I solve it.
from localize-swift.
@mhtranbn @tolik85 did help you @marmelroy ? did you solve problem?
from localize-swift.
Related Issues (20)
- Improve Package.swift HOT 1
- Swift Package Manager Xcode 11.1 Error Dependency HOT 3
- How to localize Date format HOT 1
- Load bad language HOT 2
- Language change iOS 13 app settings HOT 2
- Add Swift Package Manager Support
- Crash on NSBundle.resourcePath(for:)
- [feature request]SPM Support
- App crashes while using this library on iOS 14
- Part of the UI control localizeKey is missing. HOT 2
- Suggestions to handle Plural Localisation HOT 1
- Multiline String Literals Support
- Support macosx app
- Supporting object localize string ?
- Issue with: Pod - New build system - where different project targets have different deployment versions
- Can not import for watchOS HOT 1
- can not set up with swift package manager
- Xcode 13
- Double % symbol is not escaped HOT 1
- English "en" not listed in available language in iOS 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from localize-swift.