Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] missing i18n support #80

Open
1 task done
skarolus-rc opened this issue May 28, 2024 · 1 comment
Open
1 task done

[BUG] missing i18n support #80

skarolus-rc opened this issue May 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@skarolus-rc
Copy link

skarolus-rc commented May 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently it is not possible to use for example cds.localize(edmx,'de')

Expected Behavior

It is possible to use the functions for cds.i18n. Like written in the file @sap/cds/lib/i18n

References

https://cap.cloud.sap/docs/guides/i18n#user-locale
npm node_modules for @sap/cds

Versions

@cap-js/cds-typer: 0.20.2
@cap-js/cds-types: 0.2.0
@cap-js/sqlite: 1.7.1
@sap/cds: 7.9.2
@sap/cds-compiler: 4.9.4
@sap/cds-dk: 7.9.1
@sap/cds-dk (global): 7.9.2
@sap/cds-fiori: 1.2.3
@sap/cds-foss: 5.0.0
@sap/cds-mtxs: 1.18.1
@sap/eslint-plugin-cds: 3.0.3
Node.js: v20.12.0

Anything else? Logs?

No response

@skarolus-rc skarolus-rc added the bug Something isn't working label May 28, 2024
@daogrady
Copy link
Contributor

daogrady commented Jul 9, 2024

Hi Simon,

thanks for reporting this issue!
I don't see cds.localize anywhere in the guide you linked, nor in any other part of CAPire. So I guess this is not actually part of our API. Could you please describe what you were trying to do with cds.localize?

Best,
Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants