gt-next 6.16.14 → 6.16.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # gt-next
2
2
 
3
+ ## 6.16.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`28d0c06`](https://github.com/generaltranslation/gt/commit/28d0c06f3e8366fc2c119b7792620c4764eda2de)]:
8
+ - @generaltranslation/compiler@1.3.13
9
+
10
+ ## 6.16.15
11
+
12
+ ### Patch Changes
13
+
14
+ - [#1266](https://github.com/generaltranslation/gt/pull/1266) [`0c22b7a`](https://github.com/generaltranslation/gt/commit/0c22b7a7dd87db7657eb1ffee0444a054c6744fa) Thanks [@ErnestM1234](https://github.com/ErnestM1234)! - fix: access locale for metadata
15
+
3
16
  ## 6.16.14
4
17
 
5
18
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"getLocale.d.ts","sourceRoot":"","sources":["../../src/request/getLocale.ts"],"names":[],"mappings":"AAOA;;;;;;;;GAQG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAoBjD;AAED,wBAAgB,SAAS,WAExB"}
1
+ {"version":3,"file":"getLocale.d.ts","sourceRoot":"","sources":["../../src/request/getLocale.ts"],"names":[],"mappings":"AAQA;;;;;;;;GAQG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAyBjD;AAED,wBAAgB,SAAS,WAExB"}
@@ -45,6 +45,7 @@ var getI18NConfig_1 = __importDefault(require("../config-dir/getI18NConfig"));
45
45
  var use_1 = __importDefault(require("../utils/use"));
46
46
  var legacyGetLocaleFunction_1 = require("./utils/legacyGetLocaleFunction");
47
47
  var getRequestFunction_1 = require("./utils/getRequestFunction");
48
+ var localeStore_1 = require("./localeStore");
48
49
  var getLocaleFunction;
49
50
  /**
50
51
  * Gets the user's current locale.
@@ -57,11 +58,14 @@ var getLocaleFunction;
57
58
  */
58
59
  function getLocale() {
59
60
  return __awaiter(this, void 0, void 0, function () {
60
- var I18NConfig, gt, requestFunction_1;
61
+ var registeredLocale, I18NConfig, gt, requestFunction_1;
61
62
  var _this = this;
62
63
  return __generator(this, function (_a) {
63
64
  switch (_a.label) {
64
65
  case 0:
66
+ registeredLocale = localeStore_1.localeStore.getStore();
67
+ if (registeredLocale)
68
+ return [2 /*return*/, registeredLocale];
65
69
  if (!getLocaleFunction) return [3 /*break*/, 2];
66
70
  return [4 /*yield*/, getLocaleFunction()];
67
71
  case 1: return [2 /*return*/, _a.sent()];
@@ -1 +1 @@
1
- {"version":3,"file":"getLocale.js","sourceRoot":"","sources":["../../src/request/getLocale.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,8BAoBC;AAED,8BAEC;AAxCD,8EAAwD;AACxD,qDAA+B;AAC/B,2EAA0E;AAC1E,iEAAgE;AAEhE,IAAI,iBAAwC,CAAC;AAE7C;;;;;;;;GAQG;AACH,SAAsB,SAAS;;;;;;;yBACzB,iBAAiB,EAAjB,wBAAiB;oBAAS,qBAAM,iBAAiB,EAAE,EAAA;wBAAhC,sBAAO,SAAyB,EAAC;;oBAClD,UAAU,GAAG,IAAA,uBAAa,GAAE,CAAC;oBAC7B,EAAE,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC;oBAEnC,IAAI,OAAO,CAAC,GAAG,CAAC,8BAA8B,KAAK,OAAO,EAAE,CAAC;wBACrD,oBAAkB,IAAA,uCAAkB,EAAC,WAAW,CAAC,CAAC;wBACxD,uBAAuB;wBACvB,iBAAiB,GAAG;;;;4CACI,qBAAM,iBAAe,EAAE,EAAA;;wCAAvC,aAAa,GAAG,SAAuB;wCAC7C,sBAAO,EAAE,CAAC,kBAAkB,CAC1B,aAAa,IAAI,UAAU,CAAC,gBAAgB,EAAE,CAC/C,EAAC;;;6BACH,CAAC;oBACJ,CAAC;yBAAM,CAAC;wBACN,0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DAAuB,EAAC,UAAU,EAAE,EAAE,CAAC,CAAC;oBAC9D,CAAC;oBAED,sBAAO,iBAAiB,EAAE,EAAC;;;;CAC5B;AAED,SAAgB,SAAS;IACvB,OAAO,IAAA,aAAG,EAAC,SAAS,EAAE,CAAC,CAAC;AAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AsyncLocalStorage } from 'node:async_hooks';
2
+ export declare const localeStore: AsyncLocalStorage<string>;
3
+ //# sourceMappingURL=localeStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localeStore.d.ts","sourceRoot":"","sources":["../../src/request/localeStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,eAAO,MAAM,WAAW,2BAAkC,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.localeStore = void 0;
4
+ var node_async_hooks_1 = require("node:async_hooks");
5
+ exports.localeStore = new node_async_hooks_1.AsyncLocalStorage();
6
+ //# sourceMappingURL=localeStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localeStore.js","sourceRoot":"","sources":["../../src/request/localeStore.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AAExC,QAAA,WAAW,GAAG,IAAI,oCAAiB,EAAU,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Set the locale for the current request context.
3
+ * Use this in Route Handlers and OG image handlers where next/root-params is unavailable.
4
+ * Must be called at the top of the request handler before any other gt-next functions.
5
+ *
6
+ * @param locale - A BCP-47 locale tag (e.g., 'en-US', 'de', 'fr')
7
+ */
8
+ export declare function registerLocale(locale: string): void;
9
+ //# sourceMappingURL=registerLocale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerLocale.d.ts","sourceRoot":"","sources":["../../src/request/registerLocale.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAGnD"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.registerLocale = registerLocale;
7
+ var getI18NConfig_1 = __importDefault(require("../config-dir/getI18NConfig"));
8
+ var localeStore_1 = require("./localeStore");
9
+ /**
10
+ * Set the locale for the current request context.
11
+ * Use this in Route Handlers and OG image handlers where next/root-params is unavailable.
12
+ * Must be called at the top of the request handler before any other gt-next functions.
13
+ *
14
+ * @param locale - A BCP-47 locale tag (e.g., 'en-US', 'de', 'fr')
15
+ */
16
+ function registerLocale(locale) {
17
+ var gt = (0, getI18NConfig_1.default)().getGTClass();
18
+ localeStore_1.localeStore.enterWith(gt.resolveAliasLocale(locale));
19
+ }
20
+ //# sourceMappingURL=registerLocale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerLocale.js","sourceRoot":"","sources":["../../src/request/registerLocale.ts"],"names":[],"mappings":";;;;;AAUA,wCAGC;AAbD,8EAAwD;AACxD,6CAA4C;AAE5C;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,MAAc;IAC3C,IAAM,EAAE,GAAG,IAAA,uBAAa,GAAE,CAAC,UAAU,EAAE,CAAC;IACxC,yBAAW,CAAC,SAAS,CAAC,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC;AACvD,CAAC"}
package/dist/server.d.ts CHANGED
@@ -2,6 +2,7 @@ import 'server-only';
2
2
  import T from './server-dir/buildtime/T';
3
3
  import tx from './server-dir/runtime/tx';
4
4
  import { getLocale } from './request/getLocale';
5
+ import { registerLocale } from './request/registerLocale';
5
6
  import { getRegion } from './request/getRegion';
6
7
  import { getTranslations } from './server-dir/buildtime/getTranslations';
7
8
  import GTProvider from './provider/GTProvider';
@@ -15,5 +16,5 @@ export declare function getLocaleProperties(locale: string): LocaleProperties;
15
16
  export declare function getLocales(): string[];
16
17
  export declare function getVersionId(): string | undefined;
17
18
  export { msg, decodeMsg, decodeOptions, declareStatic, derive, declareVar, decodeVars, } from 'gt-i18n';
18
- export { GTProvider, T, getGT, getTranslations, getMessages, tx, Tx, getLocale, getRegion, getLocaleDirection, };
19
+ export { GTProvider, T, getGT, getTranslations, getMessages, tx, Tx, getLocale, registerLocale, getRegion, getLocaleDirection, };
19
20
  //# sourceMappingURL=server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,CAAC,MAAM,0BAA0B,CAAC;AACzC,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EACL,WAAW,EACX,KAAK,EACN,MAAM,+CAA+C,CAAC;AAEvD,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,UAAU,oCAEzB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,UAAU,IAAI,MAAM,EAAE,CAErC;AAED,wBAAgB,YAAY,IAAI,MAAM,GAAG,SAAS,CAEjD;AAED,OAAO,EACL,GAAG,EACH,SAAS,EACT,aAAa,EACb,aAAa,EACb,MAAM,EACN,UAAU,EACV,UAAU,GACX,MAAM,SAAS,CAAC;AAEjB,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AC"}
package/dist/server.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getLocaleDirection = exports.getRegion = exports.getLocale = exports.Tx = exports.tx = exports.getMessages = exports.getTranslations = exports.getGT = exports.T = exports.GTProvider = exports.decodeVars = exports.declareVar = exports.derive = exports.declareStatic = exports.decodeOptions = exports.decodeMsg = exports.msg = void 0;
6
+ exports.getLocaleDirection = exports.getRegion = exports.registerLocale = exports.getLocale = exports.Tx = exports.tx = exports.getMessages = exports.getTranslations = exports.getGT = exports.T = exports.GTProvider = exports.decodeVars = exports.declareVar = exports.derive = exports.declareStatic = exports.decodeOptions = exports.decodeMsg = exports.msg = void 0;
7
7
  exports.getDefaultLocale = getDefaultLocale;
8
8
  exports.getGTClass = getGTClass;
9
9
  exports.getLocaleProperties = getLocaleProperties;
@@ -16,6 +16,8 @@ var tx_1 = __importDefault(require("./server-dir/runtime/tx"));
16
16
  exports.tx = tx_1.default;
17
17
  var getLocale_1 = require("./request/getLocale");
18
18
  Object.defineProperty(exports, "getLocale", { enumerable: true, get: function () { return getLocale_1.getLocale; } });
19
+ var registerLocale_1 = require("./request/registerLocale");
20
+ Object.defineProperty(exports, "registerLocale", { enumerable: true, get: function () { return registerLocale_1.registerLocale; } });
19
21
  var getRegion_1 = require("./request/getRegion");
20
22
  Object.defineProperty(exports, "getRegion", { enumerable: true, get: function () { return getRegion_1.getRegion; } });
21
23
  var getI18NConfig_1 = __importDefault(require("./config-dir/getI18NConfig"));
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";;;;;;AAiBA,4CAEC;AAED,gCAEC;AAED,kDAEC;AAED,gCAEC;AAED,oCAEC;AAnCD,uBAAqB;AAErB,+DAAyC;AA+CvC,YA/CK,WAAC,CA+CL;AA9CH,+DAAyC;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gDL;AA/CH,+DAAyC;AAmDvC,aAnDK,YAAE,CAmDL;AAlDJ,iDAAgD;AAoD9C,0FApDO,qBAAS,OAoDP;AAnDX,2DAA0D;AAoDxD,+FApDO,+BAAc,OAoDP;AAnDhB,iDAAgD;AAoD9C,0FApDO,qBAAS,OAoDP;AAnDX,6EAAuD;AACvD,0EAAyE;AA4CvE,gGA5CO,iCAAe,OA4CP;AA3CjB,qEAA+C;AAwC7C,qBAxCK,oBAAU,CAwCL;AAvCZ,iEAA0C;AA6CxC,aA7CK,aAAE,CA6CL;AA3CJ,mEAAkE;AA+ChE,mGA/CO,uCAAkB,OA+CP;AA9CpB,wFAGuD;AAqCrD,4FAvCA,oCAAW,OAuCA;AAFX,sFApCA,8BAAK,OAoCA;AAjCP,SAAgB,gBAAgB;IAC9B,OAAO,IAAA,uBAAa,GAAE,CAAC,gBAAgB,EAAE,CAAC;AAC5C,CAAC;AAED,SAAgB,UAAU;IACxB,OAAO,IAAA,uBAAa,GAAE,CAAC,UAAU,EAAE,CAAC;AACtC,CAAC;AAED,SAAgB,mBAAmB,CAAC,MAAc;IAChD,OAAO,UAAU,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,UAAU;IACxB,OAAO,IAAA,uBAAa,GAAE,CAAC,UAAU,EAAE,CAAC;AACtC,CAAC;AAED,SAAgB,YAAY;IAC1B,OAAO,IAAA,uBAAa,GAAE,CAAC,YAAY,EAAE,CAAC;AACxC,CAAC;AAED,mCAQiB;AAPf,8FAAA,GAAG,OAAA;AACH,oGAAA,SAAS,OAAA;AACT,wGAAA,aAAa,OAAA;AACb,wGAAA,aAAa,OAAA;AACb,iGAAA,MAAM,OAAA;AACN,qGAAA,UAAU,OAAA;AACV,qGAAA,UAAU,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gt-next",
3
- "version": "6.16.14",
3
+ "version": "6.16.16",
4
4
  "description": "A Next.js library for automatic internationalization.",
5
5
  "main": "dist/index.server.js",
6
6
  "peerDependencies": {
@@ -17,12 +17,12 @@
17
17
  "./dist/server.*"
18
18
  ],
19
19
  "dependencies": {
20
- "@generaltranslation/supported-locales": "2.0.65",
21
- "@generaltranslation/compiler": "1.3.12",
20
+ "@generaltranslation/compiler": "1.3.13",
22
21
  "@generaltranslation/next-internal": "0.1.2",
23
22
  "generaltranslation": "8.2.7",
24
23
  "gt-react": "10.19.5",
25
- "gt-i18n": "0.8.6"
24
+ "gt-i18n": "0.8.6",
25
+ "@generaltranslation/supported-locales": "2.0.65"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",