Adds support for the keyPrefix option in the getFixedT function within RemixI18Next, aligning server-side translation capabilities with the original i18next and client-side usage.
Updates the method signature of getFixedT in src/server.ts to accept an additional keyPrefix parameter.
Implements logic within getFixedT to prepend the provided keyPrefix to translation keys, enhancing namespace management and translation key organization.
Modifies the README.md to document the new keyPrefix option, including usage examples and its benefits for server-side translation scenarios.
Related to #142
Adds support for the
keyPrefix
option in thegetFixedT
function withinRemixI18Next
, aligning server-side translation capabilities with the originali18next
and client-side usage.getFixedT
insrc/server.ts
to accept an additionalkeyPrefix
parameter.getFixedT
to prepend the providedkeyPrefix
to translation keys, enhancing namespace management and translation key organization.keyPrefix
option, including usage examples and its benefits for server-side translation scenarios.For more details, open the Copilot Workspace session.