-
Notifications
You must be signed in to change notification settings - Fork 7
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
Structure of languages and resources #21
Comments
Give me about 30 minutes to get to my office and either @marcoslhc or
|
Wow, that was a quick reply. Sounds great, I will await your magic :)
|
Hi @Evanion.
Right now, the plugin does work for po files only, see for example: https://github.com/NEURS/gulp-transifex/blob/master/index.js#L469. But it shouldn't be too difficult to add support for other file formats. I hope to invest some time in that feature in a medium term. Basically we need to do:
Like I said, I hope to add it sometime in the next two weeks. Right now I'm in no place to do it. But if you guys are up to do it earlier it would be high and gladly appreciated.
In our own gulpfile we use it like this: transifex: {
local_path: 'www/locale/*/LC_MESSAGES',
project: process.env.TRANSIFEX_PROJECT,
user: process.env.TRANSIFEX_USER,
password: process.env.TRANSIFEX_PASSWORD,
custom_language_codes: {
"es": "spa",
"it": "ita",
"de": "deu",
"pt": "por"
},
language_codes_as_objects: true,
use_custom_language_codes: true
} notice the glob in |
I doubt our developers will have any time faster than you guys ... |
It's fixed: 3c2902e |
Can you update the documentation to reflect the new API? |
Documentation is the same, but here is a second example from another project:
|
Hello
I found this project when I was looking to integrate Transifex in the build process for our Ionic based app.
Since Ionic uses Angular.js internally, We will be using Angular-translate.
I have a few questions on how to best setup your module:
The text was updated successfully, but these errors were encountered: