-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translation/lang isn't working #544
Comments
|
Ok after some tryies i've noticed than when I put my new lang into the |
|
The fr.json file should go next to the app.js file.
- https://geomoose.github.io/gm3/howto/add-a-language.html
I'll clarify that in the documentation!
…On Thu, Jun 11, 2020 at 7:05 AM Ivars Julien ***@***.***> wrote:
Ok after some tryies i've noticed than when I put my new lang into the
carine\src\gm3\i18n.js file it works fine, but when I put it into the
app.js it didn't works with the right syntaxes
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#544 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJZB456YKE2XX4GPLF23YLRWDCA3ANCNFSM4N3HMUFQ>
.
|
|
Huuuuum okay that was so obvious 😅 |
|
Putting it in The reason the add-a-language recommendation is to put custom translation files next to app.js is so it doesn't get overwritten or conflict when GeoMoose is updated. |
|
Yeah when I put it directly in the
|
Hi @Freezlex, I'm a little late on this but would you be willing to contribute your fr.json translation to the GeoMoose project? If so, can you attach the file in a new issue or here (or perhaps a .zip of it) and can you confirm that you are contributing this under the license here, https://github.com/geomoose/gm3/blob/master/AUTHORS? PRs also welcome here, https://github.com/geomoose/gm3/tree/master/src/gm3/lang and add your self to the Translators section of the Authors file https://github.com/geomoose/gm3/blob/master/AUTHORS in the PR. |
I don't know if it's already marked-up but when I try to make a translated application with the
.jsonfile it's not working like it stay with theclear-feature-tipfor example but it stay the same for all.So I think you know about this but I still wanna know if i'm doing it wrong or not 😅
My
fr.jsonis over herecarine\src\gm3\lang\fr.json(from the HTDOCS file)And in my
app.jsi've added this on the app declaration :The text was updated successfully, but these errors were encountered: