{"_id":"@austevic/i18n","_rev":"11-0a70fb39473caf5a5587ce7fde193e0c","name":"@austevic/i18n","dist-tags":{"latest":"0.1.6"},"versions":{"0.0.1":{"name":"@austevic/i18n","version":"0.0.1","_id":"@austevic/i18n@0.0.1","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"de1d4d29e08fa447d80215cf7659a85a8ed45850","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.0.1.tgz","fileCount":7,"integrity":"sha512-dpFRHiXsKxnH4mbYfu9oCFSgWw8kVbkVPYGLQfc1/1qeBm+n1HEI8LnOI1PAcUc+q8Wd5+syyN2jJvrbeRikig==","signatures":[{"sig":"MEQCID3m4xLjlR2m4F5TzQj+mFdoMGxiayjhf5dwrSzwdHWaAiASlQqRqUWglQX5FSUA92GzOQdUeS9gpz4OhilZzV1rBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95916},"type":"module","shasum":"de1d4d29e08fa447d80215cf7659a85a8ed45850","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"scripts":{"publish":"bun run publish.ts"},"_npmUser":{"name":"ymblender","email":"amarkdown@gmail.com"},"_integrity":"sha512-dpFRHiXsKxnH4mbYfu9oCFSgWw8kVbkVPYGLQfc1/1qeBm+n1HEI8LnOI1PAcUc+q8Wd5+syyN2jJvrbeRikig==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.0.1_1749902344366_0.8944352772240955","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@austevic/i18n","version":"0.0.2","_id":"@austevic/i18n@0.0.2","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"091aac834a5661e22f12fa143be492b602881a30","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.0.2.tgz","fileCount":9,"integrity":"sha512-yxuSMPsp6PuWLQvdLLnHFRsTQPgWT4ptGBf9kAf/gRBO3aSCqcbUAwEDm6bWmMxmNMfEv2bzNUu6iIvKr1CRWw==","signatures":[{"sig":"MEUCIHMb+oJODbTgVSF6mmtGGj2XVDBue48eAKycw5McvcW6AiEA+DQcDAriiXwvEJLiL0p2m0VHNrzCjsCBOKCswi9l1D4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112916},"type":"module","shasum":"091aac834a5661e22f12fa143be492b602881a30","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"scripts":{"publish":"bun run publish.ts"},"_npmUser":{"name":"ymblender","email":"amarkdown@gmail.com"},"_integrity":"sha512-yxuSMPsp6PuWLQvdLLnHFRsTQPgWT4ptGBf9kAf/gRBO3aSCqcbUAwEDm6bWmMxmNMfEv2bzNUu6iIvKr1CRWw==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.0.2_1749903200375_0.6776846061072845","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@austevic/i18n","version":"0.0.3","_id":"@austevic/i18n@0.0.3","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"5ddb7482a0f92f51c0146652791cd39411f51056","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.0.3.tgz","fileCount":9,"integrity":"sha512-Mi82eOY96ahuLrzbDHLnoGXaige73I6C+I/DFwMKtpImDB2GDJvAKG22lFxEfO3y9Y3Onh9rAZ98pVDJZq9rOw==","signatures":[{"sig":"MEMCH2W/RVjeBIQRZmcHLMDa3JqPOQGABFmsGNMPJh2CXDkCIFW8uvLvh40+HCHG5hlDg7GIoei5ujvGxAwzIm6KNqts","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112916},"type":"module","shasum":"5ddb7482a0f92f51c0146652791cd39411f51056","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"scripts":{"publish":"bun run publish.ts"},"_npmUser":{"name":"ymblender","email":"amarkdown@gmail.com"},"_integrity":"sha512-Mi82eOY96ahuLrzbDHLnoGXaige73I6C+I/DFwMKtpImDB2GDJvAKG22lFxEfO3y9Y3Onh9rAZ98pVDJZq9rOw==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.0.3_1749903239662_0.8601982308537104","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@austevic/i18n","version":"0.0.4","_id":"@austevic/i18n@0.0.4","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"e5414b0e1554a1f9b593fa346cdbc7b742c6ad24","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.0.4.tgz","fileCount":9,"integrity":"sha512-ABBxAY4/kBYNX7cNIQF57F6AyZaUS38aBYNLL5K6Q6Pcgt++p8S2QmtvlvPRQ4hlzyQtYY70DE0Xr80vV6Hp9Q==","signatures":[{"sig":"MEUCIQCGuYH6xaZynF3+NvlXKfBMIPtKIxiM0GCTNn8hy1AzuQIgcOYKPlk4yo2rmBVhKfQAJaSNQ2SUIdeysNjyDj9Kz8E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112941},"type":"module","shasum":"e5414b0e1554a1f9b593fa346cdbc7b742c6ad24","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"scripts":{"publish":"bun run publish.ts"},"_npmUser":{"name":"ymblender","email":"amarkdown@gmail.com"},"_integrity":"sha512-ABBxAY4/kBYNX7cNIQF57F6AyZaUS38aBYNLL5K6Q6Pcgt++p8S2QmtvlvPRQ4hlzyQtYY70DE0Xr80vV6Hp9Q==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"sqlite3":"^5.1.7","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.0.4_1749903291936_0.97530512063625","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@austevic/i18n","version":"0.1.0","_id":"@austevic/i18n@0.1.0","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"3c52fd00394faf9b10b64b81e29d6424fd807ed3","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.1.0.tgz","fileCount":9,"integrity":"sha512-4aWE4F8mVJ2a2WWAtOmhffvpZkbThgYNIF1cFJETVyOR+uCe0LdHVdWNIEM/pVWnCwagKvIzziknwkycZIOWbg==","signatures":[{"sig":"MEQCID6rBMbOSdkrP5IwDt9g6Qmwtheh+yWfTZ3GQ7byzrP8AiAPwkqbA/TV3nYhJ9sKGEepKAbJnJSNQNTnIXTlDea0dg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112945},"type":"module","shasum":"3c52fd00394faf9b10b64b81e29d6424fd807ed3","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"scripts":{"publish":"bun run publish.ts"},"_npmUser":{"name":"ymblender","actor":{"name":"ymblender","type":"user","email":"amarkdown@gmail.com"},"email":"amarkdown@gmail.com"},"_integrity":"sha512-4aWE4F8mVJ2a2WWAtOmhffvpZkbThgYNIF1cFJETVyOR+uCe0LdHVdWNIEM/pVWnCwagKvIzziknwkycZIOWbg==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"sqlite3":"^5.1.7","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.1.0_1751268928358_0.21373529226617216","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@austevic/i18n","version":"0.1.1","_id":"@austevic/i18n@0.1.1","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"b14997f915a91eaf46776efe225f40de890d38d4","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.1.1.tgz","fileCount":9,"integrity":"sha512-3VexOz3wS801pE90F/uDNgl9mjRF3d5gO2o9B8sDasXobUA+wxt+D1kdGvsNqZPvYpMAZ7GIVQnnJE0gUYSu8A==","signatures":[{"sig":"MEQCIFYyBG0FbinpYNaXWs26UCzygzBJoi5PwwvfWFv8O4aaAiA8JdXJqN4EVfY/nUQh6ziI1GU1ViaO8FJ2RY/0wuHFdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112953},"type":"module","shasum":"b14997f915a91eaf46776efe225f40de890d38d4","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"scripts":{"publish":"bun run publish.ts"},"_npmUser":{"name":"ymblender","actor":{"name":"ymblender","type":"user","email":"amarkdown@gmail.com"},"email":"amarkdown@gmail.com"},"_integrity":"sha512-3VexOz3wS801pE90F/uDNgl9mjRF3d5gO2o9B8sDasXobUA+wxt+D1kdGvsNqZPvYpMAZ7GIVQnnJE0gUYSu8A==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"sqlite3":"^5.1.7","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.1.1_1751269088701_0.8642216408921759","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@austevic/i18n","version":"0.1.2","_id":"@austevic/i18n@0.1.2","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"38fa379c0ac05652cffad9686d26316a8226d848","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.1.2.tgz","fileCount":3,"integrity":"sha512-XpVgfhPxV1Ei5NSZzdlQqvnYwcofiJF10BD6nCusfa4OAqEf9QDGl2DqB6pMzuJewid4rGSwr9MaHFjQ+6vWmw==","signatures":[{"sig":"MEYCIQDMvNwAv50WAcFDy4V03K9QB83lTEEyaTdv/2as51oV+wIhALPPWJylqTrwPt5JHwPoUOgjCJLu7UJ8gv9QzrgPtVvV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12318},"type":"module","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"gitHead":"f29882c8661838e25e1e56893b2e86bf6fa80c88","scripts":{"publish":"bun run publish.ts"},"_npmUser":{"name":"ymblender","actor":{"name":"ymblender","type":"user","email":"amarkdown@gmail.com"},"email":"amarkdown@gmail.com"},"_npmVersion":"10.9.2","description":"使用方法：","directories":{},"_nodeVersion":"22.16.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.1.2_1751269179993_0.05550284996483801","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@austevic/i18n","version":"0.1.3","_id":"@austevic/i18n@0.1.3","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"bin":{"i18n":"src/index.ts"},"dist":{"shasum":"de868198fb38ecb767c6ebd2dbdaf13818ac7bd1","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.1.3.tgz","fileCount":3,"integrity":"sha512-uQQ5DhIC1TWv5sqR7lMV15G3FeUifB2DAxvWtF/isNJstuXyIyWdDY5ZJJ0YvTEytp6DZbEf2YheQbz7EnDdGw==","signatures":[{"sig":"MEYCIQCtJOKHIzVGLKljQYDRSmuO4g7WHL2DhPdJXZo/8yRgTwIhAKwOjxVzXnIWDA3EmMzTcbJ7k5JzECknsxzWiacz7Sek","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12319},"type":"module","exports":{".":{"import":"./src/index.ts","require":"./src/index.ts"}},"gitHead":"f29882c8661838e25e1e56893b2e86bf6fa80c88","scripts":{"publish2":"bun run publish.ts"},"_npmUser":{"name":"ymblender","actor":{"name":"ymblender","type":"user","email":"amarkdown@gmail.com"},"email":"amarkdown@gmail.com"},"_npmVersion":"10.9.2","description":"使用方法：","directories":{},"_nodeVersion":"22.16.0","dependencies":{"dotenv":"^16.4.5","openai":"^4.58.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5.5.4"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.1.3_1751269288255_0.8432769216046778","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@austevic/i18n","version":"0.1.4","author":{"name":"Zhu Liang"},"license":"MIT","_id":"@austevic/i18n@0.1.4","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"homepage":"https://github.com/ymzuiku/austevic-i18n","bugs":{"url":"https://github.com/ymzuiku/austevic-i18n/issues"},"bin":{"i18n":"bin.ts"},"dist":{"shasum":"18c634263fde524443894d7d5c426b6a149a6981","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.1.4.tgz","fileCount":5,"integrity":"sha512-KHsd9u36AQ9eaC0BH4G1aY94LSqGR3/LSjOOhgzpOJBc2XXK2GGvnjsjjI/ZAssDVgXnxqw4lUb5cjVE7Lvx2Q==","signatures":[{"sig":"MEYCIQDhj4PvVMaQ7ZPiBM9j2O5jZYrISy0Z84y+PfwRpOjUigIhALWlhNgvhG7BAv4vqZkvnXpHfLWxRrCb5th+FHCWL9ed","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12607},"type":"module","module":"bin.ts","gitHead":"3dff098e6d1a86454d92ef25a3315cbf23e9700b","private":false,"scripts":{"lint":"bunx biome format --write"},"_npmUser":{"name":"ymblender","actor":{"name":"ymblender","type":"user","email":"amarkdown@gmail.com"},"email":"amarkdown@gmail.com"},"publisher":"Zhu Liang","repository":{"url":"git+https://github.com/ymzuiku/austevic-i18n.git","type":"git"},"_npmVersion":"10.9.2","description":"A i18n tool","directories":{},"_nodeVersion":"22.16.0","dependencies":{"openai":"^5.8.2","minimist":"^1.2.8","@biomejs/biome":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","@types/minimist":"^1.2.5"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.1.4_1751269641140_0.7667900590421892","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@austevic/i18n","version":"0.1.5","author":{"name":"Zhu Liang"},"license":"MIT","_id":"@austevic/i18n@0.1.5","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"homepage":"https://github.com/ymzuiku/austevic-i18n","bugs":{"url":"https://github.com/ymzuiku/austevic-i18n/issues"},"bin":{"i18n":"bin.ts"},"dist":{"shasum":"4617d67e5a33c8196554b7f2fca6bfe29acabc77","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.1.5.tgz","fileCount":5,"integrity":"sha512-85ibxpWXfk03LjH1d0bLY1k1PpEOLTxI4FPjz3RLvcYIsiSppihaWtO+FsgAxb8aB3Ld6Mj4pLTCxq1i+G/NEQ==","signatures":[{"sig":"MEQCICVfMW1zIZ/v0CnuOJOJC9Qv8pyF/qLu/Si0i5crFrmsAiAsi4oJXcOGATWQPAAG2hlpGlHy91Gxuvrt3g+LUKLTcQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14006},"type":"module","module":"bin.ts","gitHead":"3dff098e6d1a86454d92ef25a3315cbf23e9700b","private":false,"scripts":{"lint":"bunx biome format --write"},"_npmUser":{"name":"ymblender","actor":{"name":"ymblender","type":"user","email":"amarkdown@gmail.com"},"email":"amarkdown@gmail.com"},"publisher":"Zhu Liang","repository":{"url":"git+https://github.com/ymzuiku/austevic-i18n.git","type":"git"},"_npmVersion":"10.9.2","description":"A i18n tool","directories":{},"_nodeVersion":"22.16.0","dependencies":{"openai":"^5.8.2","minimist":"^1.2.8","@biomejs/biome":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","@types/minimist":"^1.2.5"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/i18n_0.1.5_1751270819478_0.07964148277801075","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@austevic/i18n","version":"0.1.6","private":false,"homepage":"https://github.com/ymzuiku/austevic-i18n","repository":{"type":"git","url":"git+https://github.com/ymzuiku/austevic-i18n.git"},"license":"MIT","description":"A i18n tool","author":{"name":"Zhu Liang"},"publisher":"Zhu Liang","module":"bin.ts","type":"module","scripts":{"lint":"bunx biome format --write"},"bin":{"i18n":"bin.ts"},"devDependencies":{"@types/bun":"latest","@types/minimist":"^1.2.5"},"peerDependencies":{"typescript":"^5"},"dependencies":{"@biomejs/biome":"^2.0.5","minimist":"^1.2.8","openai":"^5.22.0"},"_id":"@austevic/i18n@0.1.6","gitHead":"35d7733fc9410a059d6e9eae6d19d1fd377b7663","bugs":{"url":"https://github.com/ymzuiku/austevic-i18n/issues"},"_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-imYwyT4q6odvVA4Fmyr5A4Tdy7Jjoe6L5OSw/40aQqn7bmj1gsH2OGRGxHrmdWL7w4KB0eA3VI3QpQjLT/uKwQ==","shasum":"ec6c4ba4af6c7597611c09377a778b4bbab19d7d","tarball":"https://registry.npmjs.org/@austevic/i18n/-/i18n-0.1.6.tgz","fileCount":5,"unpackedSize":14007,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICYlWQy5tuecFTYRckDmcLfGww8+tdzuShYjGGMmSaHxAiEAnmht1jlcmNCBC14W/i5Ub7P6WRprnR/WAtlO0umvEiM="}]},"_npmUser":{"name":"ymblender","email":"amarkdown@gmail.com"},"directories":{},"maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/i18n_0.1.6_1758403821283_0.052908916749380364"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-14T11:59:04.244Z","modified":"2025-09-20T21:30:21.696Z","0.0.1":"2025-06-14T11:59:04.559Z","0.0.2":"2025-06-14T12:13:20.559Z","0.0.3":"2025-06-14T12:13:59.955Z","0.0.4":"2025-06-14T12:14:52.123Z","0.1.0":"2025-06-30T07:35:28.527Z","0.1.1":"2025-06-30T07:38:08.888Z","0.1.2":"2025-06-30T07:39:40.143Z","0.1.3":"2025-06-30T07:41:28.397Z","0.1.4":"2025-06-30T07:47:21.325Z","0.1.5":"2025-06-30T08:06:59.689Z","0.1.6":"2025-09-20T21:30:21.509Z"},"bugs":{"url":"https://github.com/ymzuiku/austevic-i18n/issues"},"author":{"name":"Zhu Liang"},"license":"MIT","homepage":"https://github.com/ymzuiku/austevic-i18n","repository":{"type":"git","url":"git+https://github.com/ymzuiku/austevic-i18n.git"},"description":"A i18n tool","maintainers":[{"name":"ymblender","email":"amarkdown@gmail.com"}],"readme":"# austevic-i18n\n\n使用方法：\n\n1. 在项目根目录创建一个 .env 文件，内容如下：\n\n```\nOPENAI_CLIENT=sk-xxxxx\n```\n\n2. 运行 `bunx @austevic/i18n`，会自动翻译项目中的所有 i18n`, i18nKey`, i18nObj`` 字符串，并生成 i18n 源文件。\n\n3. 在项目中使用 i18n`` 字符串，例如：\n\n```js\nimport { i18n } from \"./i18n\";\n// 这个只能在浏览器中使用:\nconst a = i18n`Hello, world`;\n\n// 根据浏览器的语言环境，会自动翻译成对应的语言，例如：\nconsole.log(a); // 你好, 世界\n\n// 也可以手动指定语言：\nconst b = i18nObj`Hello, world`(\"ja\");\nconsole.log(b); // こんにちは世界\n```\n\n4. 在服务端中使用 i18nKey(\"xxx\") 字符串，例如：\n\n- 之所以使用 i18nKey 而不是 i18n，是因为服务端不需要翻译，而是需要在 i18n 源文件中生成对应的翻译。\n- 之所以使用 i18nKey() 而不是 i18nKey``，是因为服务端的模版字符串会有编码问题\n\n```js\nimport { i18nKey } from \"./i18n\";\nconst a = i18nKey(\"Hello, world\");\nconsole.log(a); // Hello, world, 这个不会翻译, 而是反回原文, 但是会在 i18n 源文件中生成对应的翻译\n\n// 前端拿到原文后，可以使用 i18nFromKey`` 来获取对应的翻译\n// 例如：\nconst b = i18nFromKey(\"Hello, world\");\nconsole.log(b); // 根据浏览器环境, 输出正确的语言: 你好, 世界\n```\n\n5. 在客户端使用 replaceI18n 方法来替换字符串中的变量，例如：\n\n```js\nimport { replaceI18n } from \"./i18n\";\nconst a = replaceI18n(i18n`Hello, {name}`, { name: \"Liam\" });\nconsole.log(a); // 你好, Liam\n```\n","readmeFilename":"README.md"}