with AnnounceKit and Transifex?
Emit new event when a resource language is completely translated, reviewed, or filled up by TM or MT.
Emit new event when the strings of a task are fully translated.
Downloads a user-specified file from the Transifex platform. See the documentation
Uploads a given file to the Transifex platform. See the documentation
AnnounceKit is a tool for creating, managing, and publishing announcements to keep your users informed about product updates and news. Using the AnnounceKit API within Pipedream, you can automate the delivery of these updates across different platforms, sync release notes with your product's lifecycle events, or control the flow of communication based on user behavior or preferences. This level of automation can enhance user engagement and ensure timely updates without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
announcekit: {
type: "app",
app: "announcekit",
}
},
async run({steps, $}) {
const data = {
"query": `{
me {
active_project {
id
name
}
}
}`,
}
return await axios($, {
method: "post",
url: `https://announcekit.app/gq/v2`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.announcekit.$auth.email}`,
password: `${this.announcekit.$auth.password}`,
},
data,
})
},
})
Transifex is a powerful cloud-based platform designed to help teams manage multilingual content effectively. With the Transifex API, you can automate the syncing of translations, manage localization projects, and streamline communication between developers and translators. Integrating Transifex with Pipedream allows you to connect your localization workflow with other services like GitHub, Slack, or email providers, enhancing productivity and reducing manual work.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
transifex: {
type: "app",
app: "transifex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.api.transifex.com/organizations`,
headers: {
Authorization: `Bearer ${this.transifex.$auth.api_token}`,
"Accept": `application/vnd.api+json`,
},
})
},
})