Skip to content

Commit 7e2ea39

Browse files
committed
docs: add note for dots in lang keys
1 parent a6e862e commit 7e2ea39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

user_guide_src/source/outgoing/localization.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ Within the file, you would return an array, where each element in the array has
149149

150150
.. literalinclude:: localization/007.php
151151

152+
.. note:: You cannot use dots (``.``) at the beginning and end of language keys.
153+
152154
It also support nested definition:
153155

154156
.. literalinclude:: localization/008.php

0 commit comments

Comments
 (0)