Summary: Standardize on i18next and react-i18next for internationalization and localization in kodesk app.
Created: 21 July, 2023
Status: Draft
Owner: Gema Anggada ([email protected])
Summary: Standardize on i18next and react-i18next for internationalization and localization in kodesk app.
Created: 21 July, 2023
Status: Draft
Owner: Gema Anggada ([email protected])
I hereby claim:
To claim this, I am signing this object:
import { createTestContext } from "./__helpers"; | |
const ctx = createTestContext(); | |
it("ensures that draft can be created and published", async () => { | |
const draftResult = await ctx.client.request( | |
` | |
mutation { | |
createDraft(title: "Nexus", body: "...") { | |
id |
import path from 'path'; | |
import express from 'express'; | |
import http from 'http'; | |
import {ApolloServer, gql} from 'apollo-server-express'; | |
import makeIO from 'socket.io'; | |
import prisma from './prismaClient'; | |
const typeDefs = gql` | |
type Query { |
#!/bin/sh | |
kotlinc main.kt -include-runtime -d main.jar | |
java -jar main.jar |
#!/usr/local/bin/python3 | |
from watchdog.observers import Observer | |
import time | |
from watchdog.events import FileSystemEventHandler | |
import os | |
import json | |
class MyHandler(FileSystemEventHandler): | |
def on_modified(self, event): |
const fs = require("fs"); | |
const http = require("http"); | |
http | |
.createServer((req, res) => { | |
res.setHeader("Content-Type", "application/json"); | |
let endMsg = JSON.stringify({ | |
message: "Request Finished" | |
}); | |
switch (req.url) { |
I hereby claim:
To claim this, I am signing this object:
import React from 'react'; | |
import {View, StyleSheet, Button} from 'react-native'; | |
import {Navigator, Route} from './Navigator'; | |
function Screen1({navigator}) { | |
return ( | |
<View style={[styles.screen, {backgroundColor: '#59C9A5'}]}> | |
<Button title="Screen 2" onPress={() => navigator.push('Screen2')} /> | |
<Button title="Pop" onPress={() => navigator.pop()} /> | |
</View> |