Skip to content
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

Empty translations with Meteor 1.7.0.1 #93

Open
royklopper opened this Issue Jun 7, 2018 · 10 comments

Comments

Projects
None yet
6 participants
@royklopper
Copy link

royklopper commented Jun 7, 2018

Hi there,

I'm experiencing some issues with Meteor 1.7 and this package. Translations are not loaded and passed on to the frontend.

I've tested the same files on Meteor 1.6.x and that works properly. Calling "/universe/locale/en-US" on 1.7 returns an empty response, 1.6.x returns the proper Javascript signature.

Files added:
/i18n/en-US/test.i18n.yml

_locale: en-US
_namespace: test

key: test

calling i18n.__('test.test') returns a proper response in 1.6, but 1.7 it does not translate.

If you need more info let me know.

Cheers

@cristo-rabani

This comment has been minimized.

Copy link
Member

cristo-rabani commented Jun 7, 2018

Hello,

We are currently working on it, so the update should be available soon.

Thanks.

@cristo-rabani cristo-rabani self-assigned this Jun 7, 2018

@royklopper

This comment has been minimized.

Copy link
Author

royklopper commented Jun 8, 2018

Hi @cristo-rabani ,

Thank you for your quick reply. Many thanks for the upcoming update.

Cheers

@ivan133

This comment has been minimized.

Copy link

ivan133 commented Jun 20, 2018

Any news?

@Adriano72

This comment has been minimized.

Copy link

Adriano72 commented Sep 2, 2018

It's 2 September. Any news???

@majeocpi

This comment has been minimized.

Copy link

majeocpi commented Oct 25, 2018

Any news?

@majeocpi

This comment has been minimized.

Copy link

majeocpi commented Oct 25, 2018

@cristo-rabani

This comment has been minimized.

Copy link
Member

cristo-rabani commented Nov 13, 2018

Hello,
Should be fine in version 1.20.0

@ivan133

This comment has been minimized.

Copy link

ivan133 commented Dec 3, 2018

I've tried with 1.20.1 just now and it doesn't work
I've tried to set UNIVERSE_I18N_LOCALES=all - didn't help

@Ethaan

This comment has been minimized.

Copy link

Ethaan commented Feb 6, 2019

This is not working also for me, so i have something like this.

  "galaxy.meteor.com": {
    "env": {
      "DEPLOY_HOSTNAME":"galaxy.meteor.com",  
      "ROOT_URL": "",
      "MONGO_URL": "",
      "UNIVERSE_I18N_LOCALES": "es-ES,es"
    }
  },

And as you guys can see, on https://www.meetacreator.com/, no spanish is loaded, but if you click on the usa flag, it will show the english translations.

my translation lives on lib/i18n/es.i18n.json and lib/i18n/en.i18n.json

this is the name of the file _locale

  "_locale": "es-ES",
  "_namespace": "common",
  ...

this works on development with no issues, but on production it dosen't

@ivan133

This comment has been minimized.

Copy link

ivan133 commented Feb 6, 2019

I didn't work with galaxy, but for mup Let me tell you the secret you need to setup UNIVERSE_I18N_LOCALES before building the app
For example:
UNIVERSE_I18N_LOCALES=all mup deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.