Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jb605 on
Can anybody explain how does the locale table gets populated? Why some string is not there?
My custom links text is not getting into there. I did use t("some label text") in the customized link, but it does now show up in the locale table, so I can not add it through the admin interface. Also, I have some text in the theme file, which the locale module just can not see it.
Thanks for your help!
Comments
location of string
I saw some comments how the location of a string and it's localization. Sounds to me it's very wierd.
If I have a string, say "description", shows up in every page of nod view, i.e.,
/node/view/1
/node/view/2
Then how does the system handles it? If the system check string without compare it's location, why do we store the location. If it does, which is impossible, because you can not grow your locales table with all individual nodes, right?
Any comments? Thank you.
sorry about my previous post
The system does work with same string showing up in different location or case.
Thanks.