Jacob Overgaard
|
0505bb58f8
|
make current language observable as a part
|
2023-07-27 16:29:41 +02:00 |
|
Jacob Overgaard
|
f5a5707bb3
|
add crude language selector to user workspace
|
2023-07-27 15:44:59 +02:00 |
|
Jacob Overgaard
|
c680a30c45
|
use dash (-) instead of underscore (_) for backward compatibility
|
2023-07-27 15:44:06 +02:00 |
|
Jacob Overgaard
|
5345cfbe48
|
update docs
|
2023-07-27 15:13:46 +02:00 |
|
Jacob Overgaard
|
1878078cd5
|
convert language to es module
|
2023-07-27 15:12:42 +02:00 |
|
Jacob Overgaard
|
17fc66a4fa
|
register fallback language
|
2023-07-27 14:42:33 +02:00 |
|
Jacob Overgaard
|
a91d454317
|
add docs and fallback language
|
2023-07-27 14:42:26 +02:00 |
|
Jacob Overgaard
|
7a1fc3d612
|
add localization documentation
|
2023-07-27 14:36:00 +02:00 |
|
Jacob Overgaard
|
cbf3528d2f
|
keynotfound story
|
2023-07-27 14:12:20 +02:00 |
|
Jacob Overgaard
|
ab5cde196c
|
add story to localize
|
2023-07-27 14:09:18 +02:00 |
|
Jacob Overgaard
|
671f726811
|
use correct keys
|
2023-07-27 13:53:22 +02:00 |
|
Jacob Overgaard
|
c5fe841446
|
convert en_us from current backoffice
|
2023-07-27 13:53:16 +02:00 |
|
Jacob Overgaard
|
f554d4ca84
|
set default language to 'en_us'
|
2023-07-27 13:46:19 +02:00 |
|
Jacob Overgaard
|
478d6da164
|
lowercase iso codes
|
2023-07-27 13:46:06 +02:00 |
|
Jacob Overgaard
|
a8afe7cc27
|
test fallback language
|
2023-07-27 13:16:44 +02:00 |
|
Jacob Overgaard
|
388ae4d54c
|
test that values work inside a subscription
|
2023-07-27 13:16:38 +02:00 |
|
Jacob Overgaard
|
afc5916efd
|
use test helper elementUpdated()
|
2023-07-27 13:12:43 +02:00 |
|
Jacob Overgaard
|
1d12ea996f
|
use aTimeout to wait
|
2023-07-27 13:02:49 +02:00 |
|
Jacob Overgaard
|
3019f5a513
|
Revert "add sleep test utility"
This reverts commit fde921155c.
|
2023-07-27 13:01:59 +02:00 |
|
Jacob Overgaard
|
a5f6a344c2
|
format check
|
2023-07-27 12:45:00 +02:00 |
|
Jacob Overgaard
|
7bf9000814
|
linting
|
2023-07-27 12:44:50 +02:00 |
|
Jacob Overgaard
|
b7ec665da8
|
organize imports
|
2023-07-27 12:42:32 +02:00 |
|
Jacob Overgaard
|
c81e155154
|
add test for <umb-localize>
|
2023-07-27 11:40:51 +02:00 |
|
Jacob Overgaard
|
f940412026
|
add test to change language entirely
|
2023-07-27 11:40:42 +02:00 |
|
Jacob Overgaard
|
ee31030099
|
add support to reload the value if key changes
|
2023-07-27 11:40:26 +02:00 |
|
Jacob Overgaard
|
d594c8e7ea
|
cancel any old subscription if the language changes
|
2023-07-27 11:39:43 +02:00 |
|
Jacob Overgaard
|
fde921155c
|
add sleep test utility
|
2023-07-27 11:39:31 +02:00 |
|
Jacob Overgaard
|
273efeb476
|
add tests to localization context
|
2023-07-27 10:07:49 +02:00 |
|
Jacob Overgaard
|
c12bf6707c
|
localization context should not listen for auth itself (makes it harder to test)
|
2023-07-27 10:07:39 +02:00 |
|
Jacob Overgaard
|
2b65a78f67
|
rename src/tsconfig to tsconfig.build
|
2023-07-27 10:07:10 +02:00 |
|
Jacob Overgaard
|
a7c6957e3c
|
backoffice-element should react to user loggedin and set up localization context
|
2023-07-27 10:06:51 +02:00 |
|
Jacob Overgaard
|
b60a88a8fd
|
update imports
|
2023-07-26 11:12:39 +02:00 |
|
Jacob Overgaard
|
95a1824871
|
translation to your profile
|
2023-07-26 10:29:01 +02:00 |
|
Jacob Overgaard
|
353b6acb9f
|
Merge remote-tracking branch 'origin/main' into feature/localization
|
2023-07-26 10:15:02 +02:00 |
|
Niels Lyngsø
|
2f74019fa1
|
lint fixing
|
2023-07-25 21:09:28 +02:00 |
|
Jacob Overgaard
|
abdbc2d918
|
rename translation section to Dictionary
|
2023-07-25 16:38:52 +02:00 |
|
Jacob Overgaard
|
99412a55f7
|
use localizeMany for buttons
|
2023-07-25 16:32:31 +02:00 |
|
Jacob Overgaard
|
b3328014e9
|
support listening on changed translations with localizeMany
|
2023-07-25 16:31:28 +02:00 |
|
Jacob Overgaard
|
32a2de69c1
|
add label localization
|
2023-07-25 16:09:50 +02:00 |
|
Jacob Overgaard
|
ed8c585d74
|
add 'key' to localizeMany
|
2023-07-25 16:09:42 +02:00 |
|
Jacob Overgaard
|
823a6fb4e7
|
add 'this' to warnings so elements are easier to locate
|
2023-07-25 15:54:07 +02:00 |
|
Jacob Overgaard
|
93dafad0c4
|
add close variable
|
2023-07-25 15:50:36 +02:00 |
|
Jacob Overgaard
|
f5424809dc
|
avoid need of internal value with requestUpdate
|
2023-07-25 15:50:28 +02:00 |
|
Jacob Overgaard
|
304be0cd5a
|
use shadowdom anyway to support slots
|
2023-07-25 15:50:09 +02:00 |
|
Jacob Overgaard
|
010c3e9daa
|
super optimize localization context to avoid rxjs error handling
|
2023-07-25 15:49:44 +02:00 |
|
Jacob Overgaard
|
d3c372f68b
|
Revert "remove and merge debug"
This reverts commit c1a82a7457.
|
2023-07-25 15:26:31 +02:00 |
|
Jacob Overgaard
|
c1a82a7457
|
remove and merge debug
|
2023-07-25 15:21:28 +02:00 |
|
Jacob Overgaard
|
f7901f61f0
|
add docs
|
2023-07-25 15:14:41 +02:00 |
|
Jacob Overgaard
|
22a99a8b9f
|
fix http link
|
2023-07-25 15:03:56 +02:00 |
|
Jacob Overgaard
|
891a1f58a4
|
add error callback & debug mode
|
2023-07-25 15:03:13 +02:00 |
|