Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Valeriu Paloş
    @vpalos
    At the root of the entire app. So I have:
    /..
    /client
    /server
    /i18n
    /packages
        /some-package
            /i18n
            package-tap.i18n
    project-tap.i18n
    Guillaume Darbonne
    @guidouil
    you should have "supported_languages": ["en", "ro"], in it
    Valeriu Paloş
    @vpalos
    I tried that, no change. Also the documentation states that "supported_languages": null just enables all languages found.
    Guillaume Darbonne
    @guidouil
    ...
    should work to me … :worried:
    Valeriu Paloş
    @vpalos
    Hmm, will dig some more. I'll post here if I find the cause. Thank you for your time!
    Valeriu Paloş
    @vpalos
    @guidouil Can you tell me what Meteor version you are using (where this works for you)?
    Hi!
    Guillaume Darbonne
    @guidouil
    @vpalos 1.4.4.2
    Valeriu Paloş
    @vpalos
    It seems this was also reported: TAPevents/tap-i18n#206
    Valeriu Paloş
    @vpalos
    Ok, I found the problem. I was also loading api.use('ecmascript');. This package was preventing the package translations to be loaded.
    :(
    So... there's a conflict somewhere in there.
    Guillaume Darbonne
    @guidouil
    thing is I have ecmascript@0.7.3 # Enable ECMAScript2015+ syntax in app code in my .meteor/packages file and everything works...
    Valeriu Paloş
    @vpalos
    Hmm, I have the same version. But when I don't load this in my package, translations are loaded fine.
    Guillaume Darbonne
    @guidouil
    I believe it is required and defaultly loaded to all new meteor projects
    Valeriu Paloş
    @vpalos
    I've also tried with a new vanilla project and new empty package from scratch. :worried:
    Yes, I know. I meant to not load it inside the package.
    I just commented out the api.use('ecmascript'); bit.
    Guillaume Darbonne
    @guidouil
    maybe try it inside a meteor create —full
    Punita Ojha
    @punitaojha
    This message was deleted
    FernandoCesarS
    @FernandoCesarS
    The documentation for this project is very sketchy.
    Can I make a line break?
    Brijesh Kothari
    @kothari775
    Hello Folks !!
    May I get way where I can use Meteor way Database level i18nFind within Express. Like any plugin / npm package available ?
    Annika Monari
    @annikamonari
    Hey can someone help me please? For some reason my tap:i18n package in Meteor won't work in production when I deploy to S3. I have all of my translation packages in proj/i18n/en.i18n.json
    ZzZombo
    @ZzZombo
    I don't seem to be able to use nesting entries in my translation file, I get back the referenced key in the place instead of its contents.
    ZzZombo
    @ZzZombo
    Silly me, last update in December 2016, no dev activity in issues as well. Damn.
    ZzZombo
    @ZzZombo
    BTW I figured this one out. Is there anybody at least able to accept pull requests? I guess I could easily hack it, just a option value not being passed down in call chain.
    As a workaround you can use TAPi18next.setDefaultNamespace('project').
    Mykolas Mankevicius
    @Neophen
    hey how can I do something like {{_ {{helper id=this.testId}}}} to return id to the tap helper?
    Guillaume Darbonne
    @guidouil
    @Neophen I will try something like {{_ helper this.testId}}I guess or maybe just the helper since the this will be passed automatically to the helper if inside a each or with..
    Mykolas Mankevicius
    @Neophen
    nope that gives me undefined... if I remove the i18n helper "_" then it returns ok id string :/
    Guillaume Darbonne
    @guidouil
    or maybe do the translation on the helper side with TAPi18n.__('key');
    Mykolas Mankevicius
    @Neophen
    how does that work?
    ZzZombo
    @ZzZombo
    {{_ (helper this.testId)}}
    Mykolas Mankevicius
    @Neophen
    Thank you!!! lol so simple!
    ZzZombo
    @ZzZombo
    Heh, except it's not for the devs are in hibernation and can't fix a simple bug -_-
    Mykolas Mankevicius
    @Neophen
    well they already did an amazing job, we have to be thankful for what we got right? And once you know about this it's a super minor inconvenience :)
    Mykolas Mankevicius
    @Neophen
    is there a package or something that creates ui for editing the jsons or adding more translations
    ZzZombo
    @ZzZombo
    JSON Editor online, also available as browser extension.
    Mykolas Mankevicius
    @Neophen
    thanks
    FernandoCesarS
    @FernandoCesarS
    Can I have newlines in the json file? (as in i18next/i18next#19 for i18next)
    FernandoCesarS
    @FernandoCesarS
    I just saw I can add html. For some reason I missed that on my first read...
    Bogi
    @boboci9
    Hi, does anyone have any experience on updating the translation files from your application? Like in an admin page you want to let the admin add translations for different languages using tap18n-ui
    Guillaume Darbonne
    @guidouil
    @boboci9 I believe you should use something like https://github.com/TAPevents/tap-i18n-db but it looks outdated...
    PEFLECT
    @PEFLECT
    Hello, I need your help.
    Guillaume Darbonne
    @guidouil
    Just ask the question 😉
    PEFLECT
    @PEFLECT
    I want to set the original language
    Guillaume Darbonne
    @guidouil
    PEFLECT
    @PEFLECT
    thanks :)))